sqlite - Using Sqlite3 as Redland RDF storage on iOS with Redland-ObjC -
i'm trying use https://github.com/p2/redland-objc, compiles , runs fine on ios store rdf triples in ios sqlite3 database. however, documentation light, , redland-objc seems use redland storage in-memory hash table.
however, it's mentioned in readme of https://github.com/p2/redland-objc might want include libsqlite3 use persistent storage.
is possible ? if yes, how tell redland use ios's sqlite3 api ? (i don't see code in https://github.com/p2/redland-objc that).
thanks lot.
i haven't used wrapper myself , objective-c rusty, reading source suggests can following:
use
[redlandstorage initwithfactoryname:@"sqlite" identifier:@"databasename.sqlite" options:@""]create new sqlite storage object.use
[redlandmodel initwithstorage:storage]create new model usingstoragebacking store. (the default[redlandmodel init]creates model default in-memoryhashesbacking store.)
then whatever otherwise model.
Comments
Post a Comment