Gwendal Roué
|
82141f7701
|
RowModel.copyDatabaseValuesFrom(_:)
|
2015-07-10 08:48:37 +02:00 |
|
Gwendal Roué
|
4887eaabb8
|
RowModel.isDirty experimentation
|
2015-07-10 07:42:47 +02:00 |
|
Gwendal Roué
|
ff6e25937e
|
Rename SQLiteXXX types DatabaseXXX
|
2015-07-08 19:34:17 +02:00 |
|
Gwendal Roué
|
b34c4bf833
|
Two targets, one for OS X, one for iOS.
|
2015-07-08 13:45:39 +02:00 |
|
Gwendal Roué
|
f4ad61528f
|
Replace RowModel.PrimaryKey.None with nil
|
2015-07-08 12:19:14 +02:00 |
|
Gwendal Roué
|
566b02f791
|
RowModelError.UnspecifiedTable & Database.fetchOne(type🔑)
|
2015-07-08 12:09:42 +02:00 |
|
Gwendal Roué
|
39bb46aa65
|
Refactor the RowModel.databaseTableName and RowModel.databasePrimaryKey methods in a single RowModel.databaseTable method. Rename RowModel.databaseDictionary into RowModel.storedDatabaseDictionary.
|
2015-07-08 08:52:49 +02:00 |
|
Gwendal Roué
|
761d35610b
|
Rename RowModel.updateFromDatabaseRow(_:) to RowModel.updateWithRow(_:) and make it final. Introduce RowModel.setSQLiteValue(_:forColumn:) as the override point.
|
2015-07-08 08:08:32 +02:00 |
|
Gwendal Roué
|
b1425e0879
|
More TODO
|
2015-07-07 20:30:59 +02:00 |
|
Gwendal Roué
|
8d90d2c21f
|
Remove db.fetch(RowModel, primaryKey: [String:Value])
|
2015-07-07 18:17:36 +02:00 |
|
Gwendal Roué
|
5778e15741
|
RowModelError WIP
|
2015-07-07 14:38:15 +02:00 |
|
Gwendal Roué
|
e13892d703
|
RowModel supports conflict resolutions: INSERT OR REPLACE, etc.
|
2015-07-07 07:51:46 +02:00 |
|
Gwendal Roué
|
f6119e91c2
|
Database.selectStatement() is no longer a throwing method.
|
2015-07-06 18:52:28 +02:00 |
|
Gwendal Roué
|
f58454c868
|
RowModel.update() and RowModel.save() return false if and only if the model has a non null primary key which does not exist in the database. RowModel.save() calls update() if the model has a non null primary key, and insert() otherwise.
|
2015-07-06 18:22:52 +02:00 |
|
Gwendal Roué
|
c1db46e18d
|
Make sure RowModel.init(row: Row) can be overridden independently from init().
|
2015-07-06 17:51:26 +02:00 |
|
Gwendal Roué
|
e50fa3b64d
|
Test that RowModel ImplicitlyUnwrappedOptional properties are OK
|
2015-07-06 14:40:47 +02:00 |
|
Gwendal Roué
|
cf660c5fee
|
RowModel.reload()
|
2015-07-06 13:38:59 +02:00 |
|
Gwendal Roué
|
de0d858ec9
|
Xcode, you are drunk
|
2015-07-05 23:14:10 +02:00 |
|
Gwendal Roué
|
d467f40e86
|
More RowModel.updateFromDatabaseRow experiments with row[columnName] subscripting
|
2015-07-05 22:01:13 +02:00 |
|
Gwendal Roué
|
ffde18dbfc
|
PrimaryKey cases renaming
|
2015-07-05 20:00:33 +02:00 |
|
Gwendal Roué
|
0a85de066e
|
RowModel adopts CustomStringConvertible
|
2015-07-05 19:07:14 +02:00 |
|
Gwendal Roué
|
7576008c14
|
Row.sqliteValue(named:) experimentation for better RowModel.updateFromDatabaseRow
|
2015-07-05 17:19:35 +02:00 |
|
Gwendal Roué
|
73c230098c
|
RowModel.updateFromDatabaseRow DRY experimentation
|
2015-07-05 16:59:57 +02:00 |
|
Gwendal Roué
|
0fbaf1d78e
|
Rename PrimaryKey.SQLiteRowID to PrimaryKey.RowID
|
2015-07-05 16:41:18 +02:00 |
|
Gwendal Roué
|
7269326b5b
|
Test that all sequences can be iterated several times
|
2015-07-05 16:05:51 +02:00 |
|
Gwendal Roué
|
aa026c6dd2
|
MIT license
|
2015-07-05 06:06:48 +02:00 |
|
Gwendal Roué
|
449042d62e
|
Rename GRDBTests -> GRDBTestCase
|
2015-07-04 18:09:27 +02:00 |
|
Gwendal Roué
|
692a6bc28d
|
DatabaseDate -> DBDate
|
2015-07-04 17:02:43 +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é
|
1c264c690a
|
db.fetch(RowModel:primaryKey:) gains support for multiple-columns primary keys
|
2015-07-03 20:41:19 +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 |
|