Full Disclosure:
I'm not an educated programmer, and the entirety of my programming experience is in Javascript and Objective-C.
So now you know what you're dealing with. Tread carefully. No sudden moves.
I'm writing an iPad app which talks to a…
I would like to use MongoDB directly at client side of an Mac OSX app, i.e. I want to store my models in a mongoDB. Is this possible? Most of the documents I saw explained how to access mongoDB that is present in a server.
Other commands work correctly for me, such as:
let commandDictionary = ["count": "trials"]
let error: NSError?
let result = myConnection.runCommandWithDictionary(
commandDictionary,
onDatabaseName: databaseName,
error:…
I have to create an iOS client using MongoDB and I need to secure the connection. I'm considering ObjCMongoDB library to do it because the interface is in Objective-C.
Can we use the ?ssl=true option in the MongoDB URI as described there?
I'm very new to use ObjCMongoDB; I need to connect to a mongoDB from inside my application so I'm trying to integrate ObjCMongoDB.framework into my project.
I've read the wiki and I didn't find any reference on connecting to a DB with username and…
I am using objmongodb as a tool to communicate with my work's mongodb.
i need to create a query for all docs with a field pickup.recommended equaling todays date.
I'v tried using:
[predicate keyPath:@"pickup.recommended" matches:[NSDate…
I have a meteor app in which I am using a mongoDB ObjC driver to write to it from an ios app. This works fine when the meteor app is running locally (port 3000). I simply use dbConn = [MongoConnection connectionForServer:@"127.0.0.1:3002"…
I am using ObjCMongoDB as a cocoa wrapper for accessing mongoDB. I am facing difficulty in a scenario where I have to find and replace a document with a new document. Can any one help me by pointing out the code/API of ObjCMongoDB to use.
For…
I'm looking for some pointers on how to keep a CoreData model in sync with a MongoDB. I'm leveraging the ObjCMongoDB framework and I can create objects in core data as follows:
coreDataObj = [BSONDecoder decodeManagedObjectWithClass:[Hostname…
ObjCMongoDB seems to be documented perfectly well for basic CRUD functionality, but for other mongo commands there's no explanation at all.
Specifically, I need to know how to do:
db.collection.findAndModify()
Any help, as always, would be…
I’m using Paulmelnikow’s ObjCMongoDB to connect to a mongodb in my iOS. I want to load the data in chunks using MongoCursor. I need help to implement this.
Thanks.
I want to implement complex queries on mongoDB in my iOS app. I’m using ObjCMongoDB and it’s working perfectly. I’m able to implement the count query on the database, please see the following code
commandDict = @{@"count":…