[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

test[sqlite3] 001 Create a test database

[ | db |
db := SQLiteDatabase openOrCreateDatabase: '/data/data/net.smalltalking.s8.jx8/testdb' factory: nil.
db class = SQLiteDatabase ifTrue: [ self print: 'DB successfully created or opened' ] ifFalse: [ self print: 'DB could not be created' ].
] on: Error do: [:ex | self print: 'DB could not be created' ]