Commit Graph
24 Commits
Author SHA1 Message Date
Gwendal Roué aedc9a5426 Documentation WIP 2015-07-05 12:50:57 +02:00
Gwendal Roué 82d953472e Documentation WIP 2015-07-05 12:31:50 +02:00
Gwendal Roué aa026c6dd2 MIT license 2015-07-05 06:06:48 +02:00
Gwendal Roué c8bad5db25 Rename DatabaseValueType to SQLiteValueConvertible 2015-07-04 16:28:07 +02:00
Gwendal Roué d2528cc7c9 Support for BLOB columns 2015-07-04 13:54:10 +02:00
Gwendal Roué 3b0ebd64a6 Replace DatabaseValueType.bindInSQLiteStatement(_:atIndex:) with DatabaseValueType.sqliteValue 2015-07-04 07:36:52 +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é 008d661868 Only support colon-prefixed named bindings. 2015-07-03 18:04:53 +02:00
Gwendal Roué 873a5c17b4 Better Statement errors 2015-07-03 12:30:44 +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é d6385d8a66 Swift.String auto converts to utf8-encoded C string 2015-07-01 19:16:31 +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é e00035b088 Log sql queries 2015-07-01 08:21:32 +02:00
Gwendal Roué b7d5c40595 SelectStatement is no longer a Row sequence 2015-07-01 06:07:34 +02:00
Gwendal Roué dc5efbc66b Don't expose unused sqlite feature 2015-06-30 18:36:51 +02:00
Gwendal Roué 627938a807 Clean up 2015-06-30 18:23:15 +02:00
Gwendal Roué 7f3d1f516e Bind values 2015-06-30 17:59:41 +02:00
Gwendal Roué e82453a266 Bind values 2015-06-30 17:49:48 +02:00
Gwendal Roué 8670f1832d Update queries and row sequences 2015-06-30 16:51:32 +02:00