Commit Graph
33 Commits
Author SHA1 Message Date
Gwendal Roué faf588c845 Support both Int and String enums 2015-07-05 14:25:28 +02:00
Gwendal Roué e782b3e88e Experiment with enum support 2015-07-05 14:02:51 +02:00
Gwendal Roué 8d829195c7 RowTests 2015-07-04 19:50:19 +02:00
Gwendal Roué 631f071589 Come on, Xcode, pull yourself together 2015-07-04 18:52:30 +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é 449042d62e Rename GRDBTests -> GRDBTestCase 2015-07-04 18:09:27 +02:00
Gwendal Roué 013eef02c8 GRDB.xcworkspace + Playground.playground 2015-07-04 17:59:47 +02:00
Gwendal Roué 933a472da7 SelectStatement.fetch(RowModel, bindings:) 2015-07-04 16:57:01 +02:00
Gwendal Roué c8bad5db25 Rename DatabaseValueType to SQLiteValueConvertible 2015-07-04 16:28:07 +02:00
Gwendal Roué 188d542906 Tests for all (Swift Type) -> (Sqlite Affinity) -> (Swift Type) paths 2015-07-04 14:08:18 +02:00
Gwendal Roué e9bf3c2eac Remove useless support for enums 2015-07-03 21:36:32 +02:00
Gwendal Roué 8b6a2eda1d Support for enums via DatabaseEnum 2015-07-03 21:15:01 +02:00
Gwendal Roué 35a50d610d Rename DatabaseValue to DatabaseValueType 2015-07-03 19:36:22 +02:00
Gwendal Roué 75e77d509a Statement tests 2015-07-03 12:31:00 +02:00
Gwendal Roué b225dff251 Organize RowModel tests 2015-07-03 09:32:30 +02:00
Gwendal Roué efbf468b89 Clean up fucked up file hierarchy 2015-07-03 09:13:37 +02:00
Gwendal Roué e26fdbf589 Make RowModel.insert(db) overridable 2015-07-03 06:50:15 +02:00
Gwendal Roué b3cebea0f6 CustomDatabaseValueTests 2015-07-03 00:03:29 +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é 963a3055c2 RowModel WIP 2015-07-02 08:40:45 +02:00
Gwendal Roué 2199dfb636 DatabaseMigratorTests 2015-07-01 19:48:37 +02:00
Gwendal Roué 5951079ecc Rename Error to SQLiteError 2015-07-01 19:21:06 +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é 3d8bfc04b0 DatabaseQueue 2015-07-01 08:22:10 +02:00
Gwendal Roué 73e9d79e1a Minor API tweaks 2015-06-30 19:02:46 +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
Gwendal Roué 0ac4dce2ef Open a database 2015-06-30 14:24:20 +02:00
Gwendal Roué 7a6675386b Initial commit: sqlite access from Xcode 6.3.2 2015-06-30 13:16:30 +02:00