Commit Graph
60 Commits
Author SHA1 Message Date
Gwendal Roué 2db6e33f42 RowModel.update(db) 2015-07-02 20:20:03 +02:00
Gwendal Roué 9f63ca1c5e RowModel.update(db) 2015-07-02 20:01:38 +02:00
Gwendal Roué 0252c0c18c Minor tweaks 2015-07-02 20:01:03 +02:00
Gwendal Roué 5eed94014f Fetch RowModel by primary key 2015-07-02 19:40:07 +02:00
Gwendal Roué 896bb4db7c RowModelTests WIP 2015-07-02 18:08:34 +02:00
Gwendal Roué 6d47f72009 Minor tweaks 2015-07-02 13:58:11 +02:00
Gwendal Roué e87c78a188 RowModelTests WIP 2015-07-02 13:23:12 +02:00
Gwendal Roué 1edd069ce6 Improve RowModel.insert() management of primary keys 2015-07-02 13:15:46 +02:00
Gwendal Roué ee5597f0a6 GRDBTests: nicer error output 2015-07-02 13:14:40 +02:00
Gwendal Roué 9ca4d2de46 Bindings can be created from any SequenceType of DatabaseValue, not only CollectionType 2015-07-02 13:14:31 +02:00
Gwendal Roué 343a239905 Functions that fetch no longer throw (they crash), but the low-level Database.selectStatement(_:bindings:unsafe:). 2015-07-02 12:27:11 +02:00
Gwendal Roué 13817d864d Fetch rationalization 2015-07-02 12:24:03 +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é 26b83dcc17 RowModel WIP 2015-07-02 09:01:20 +02:00
Gwendal Roué 963a3055c2 RowModel WIP 2015-07-02 08:40:45 +02:00
Gwendal Roué 1175e226bd Database.lastInsertedRowID 2015-07-01 22:57:43 +02:00
Gwendal Roué 3b3ca5dcad Tests WIP 2015-07-01 21:20:21 +02:00
Gwendal Roué 5876c67f29 Database.init() is internal 2015-07-01 20:02:48 +02:00
Gwendal Roué e887c4fc32 README.md 2015-07-01 20:00:36 +02:00
Gwendal Roué b8696d80eb README.md 2015-07-01 19:59:59 +02:00
Gwendal Roué 2199dfb636 DatabaseMigratorTests 2015-07-01 19:48:37 +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é 948c8ccb19 More TODO 2015-07-01 17:24:20 +02:00
Gwendal Roué 7722de5fb2 README.md 2015-07-01 15:53:33 +02:00
Gwendal Roué 75ae131dc6 README.md 2015-07-01 14:21:05 +02:00
Gwendal Roué 2e760e41af README.md 2015-07-01 14:20:20 +02:00
Gwendal Roué 17d7c28f70 inTransaction takes a block that should return .Commit or .Rollback 2015-07-01 14:11:24 +02:00
Gwendal Roué b9c3254c37 More TODO 2015-07-01 14:03:58 +02:00
Gwendal Roué 5f6bdc3ff5 README.md 2015-07-01 13:53:23 +02:00
Gwendal Roué 6419d884a2 Tests WIP 2015-07-01 13:52:13 +02:00
Gwendal Roué b26e918411 Tests WIP 2015-07-01 13:50:08 +02:00
Gwendal Roué 385c1cea7a Row.value(atIndex:), Row.value(named:) 2015-07-01 13:49:53 +02:00
Gwendal Roué 7dcce5da01 README.md 2015-07-01 11:58:56 +02:00
Gwendal Roué 6d65491958 More statement APIs 2015-07-01 11:56:30 +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é 3d8bfc04b0 DatabaseQueue 2015-07-01 08:22:10 +02:00
Gwendal Roué 4b2e90e54d Database.inTransaction 2015-07-01 08:22:03 +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é cf58123725 Bool support 2015-07-01 05:57:26 +02:00
Gwendal Roué 73e9d79e1a Minor API tweaks 2015-06-30 19:02:46 +02:00