Re: [Pharo-users] [ANN] PUnQLite NoSQL database project updated
If I use the file from https://github.com/mumez/PunQLite/tree/master/binary/mac at least the library is found. The db file is not created though resulting in a PqCursorError in keys db := PqDatabase open: 'test.db'. db at: 'Smalltalk' put: 'COOL'. db at: 'Pharo' put: 'HOT'. db at: 'Smalltalk' ifPresent: [:data | data asString inspect ]. Transcript cr; show: db keys.
I would really like to have a Pharo client for unQLite I have places that would use it :)
On Feb 14, 2015, at 6:30 AM, Stephan Eggermont <stephan@stack.nl> wrote:
If I use the file from https://github.com/mumez/PunQLite/tree/master/binary/mac at least the library is found. The db file is not created though resulting in a PqCursorError in keys
db := PqDatabase open: 'test.db'. db at: 'Smalltalk' put: 'COOL'. db at: 'Pharo' put: 'HOT'. db at: 'Smalltalk' ifPresent: [:data | data asString inspect ]. Transcript cr; show: db keys.
On Sat, Feb 14, 2015 at 09:30:12AM +0100, Stephan Eggermont wrote:
db := PqDatabase open: 'test.db'.
Try using a FQPN. See this post about Pharo.app's default working directory being "/" on OSX: http://forum.world.st/NBSQLite3-on-OS-X-Pharo-3-tc4800276.html#a4801485 Pierce
participants (3)
-
Pierce Ng -
Sebastian Sastre -
Stephan Eggermont