Commit Graph
33 Commits
Author SHA1 Message Date
Gwendal Roué 82d953472e Documentation WIP 2015-07-05 12:31:50 +02:00
Gwendal Roué f4ad456569 Documentation WIP 2015-07-05 12:04:16 +02:00
Gwendal Roué 4e001c880a Configuration.logSQL is a built-in query tracer, which logs SQL statements and bindings. 2015-07-05 09:31:07 +02:00
Gwendal Roué aa026c6dd2 MIT license 2015-07-05 06:06:48 +02:00
Gwendal Roué c831a0a4b3 Rename DatabaseConfiguration to Configuration, add Configuration.readonly, and replace Configuration.verbose flag with customizable Configuration.trace function. 2015-07-04 18:42:21 +02:00
Gwendal Roué c8bad5db25 Rename DatabaseValueType to SQLiteValueConvertible 2015-07-04 16:28:07 +02:00
Gwendal Roué 3eb6cc205b SelectStatement.fetch…(…, bindings:) & UpdateStatement.execute(bindings:) 2015-07-04 15:56:53 +02:00
Gwendal Roué d2528cc7c9 Support for BLOB columns 2015-07-04 13:54:10 +02:00
Gwendal Roué 4c2a1e9d92 Documentation 2015-07-03 20:41:31 +02:00
Gwendal Roué 526840bca1 Replace the Statement methods bind(), reset() and clearBindings() with the bindings property. 2015-07-03 20:12:16 +02:00
Gwendal Roué 35a50d610d Rename DatabaseValue to DatabaseValueType 2015-07-03 19:36:22 +02:00
Gwendal Roué 873a5c17b4 Better Statement errors 2015-07-03 12:30:44 +02:00
Gwendal Roué 657d534b01 Improve Xcode autocompletion of generic functions by exposing the expected generic type 2015-07-03 10:50:43 +02:00
Gwendal Roué 0914ab2c74 Make sure select statements are executed on the database queue 2015-07-03 08:20:22 +02:00
Gwendal Roué 6d6dd31c1f More verbose errors 2015-07-02 21:36:12 +02:00
Gwendal Roué 47baf0c2b5 RowModel.save(db) 2015-07-02 20:43:45 +02:00
Gwendal Roué 0252c0c18c Minor tweaks 2015-07-02 20:01:03 +02:00
Gwendal Roué 6d47f72009 Minor tweaks 2015-07-02 13:58:11 +02:00
Gwendal Roué 72c0c9b1cb Fetch rationalization 2015-07-02 12:14:19 +02:00
Gwendal Roué d79c13f5b7 Fetch rationalization 2015-07-02 12:05:16 +02:00
Gwendal Roué 8621d9e2af Bindings 2015-07-02 11:15:17 +02:00
Gwendal Roué 4d4712cd02 Rename DatabaseCell SQLiteValue 2015-07-02 10:28:48 +02:00
Gwendal Roué cbc306f9d5 SQLiteError.sql gives the failed SQL query 2015-07-01 19:47:58 +02:00
Gwendal Roué 5951079ecc Rename Error to SQLiteError 2015-07-01 19:21:06 +02:00
Gwendal Roué 32e856b071 Guard against invalid use of database queues 2015-07-01 19:19:07 +02:00
Gwendal Roué 385c1cea7a Row.value(atIndex:), Row.value(named:) 2015-07-01 13:49:53 +02:00
Gwendal Roué 2c17214e78 SelectStatement.fetchRows() now returns a sequence of rows which can be consumed well after sqlite3_step() and sqlite3_finalize() are called. Use SelectStatement.fetchRows(unsafe: true) to get a sequence of unsafe rows. 2015-07-01 11:18:59 +02:00
Gwendal Roué 1e023dbf7c DatabaseMigrator 2015-07-01 09:12:31 +02:00
Gwendal Roué baa609360c DatabaseConfiguration 2015-07-01 08:31:29 +02:00
Gwendal Roué e00035b088 Log sql queries 2015-07-01 08:21:32 +02:00
Gwendal Roué 60eea0138a Replace SelectStatement.rows with SelectStatement.fetchRows() 2015-07-01 06:34:43 +02:00
Gwendal Roué b7d5c40595 SelectStatement is no longer a Row sequence 2015-07-01 06:07:34 +02:00
Gwendal Roué 73e9d79e1a Minor API tweaks 2015-06-30 19:02:46 +02:00