Gwendal Roué
|
a9ea939968
|
Remove some obsolete & unused code
|
2015-07-12 08:09:07 +02:00 |
|
Gwendal Roué
|
6b7b30b2ec
|
Test struct DBDate stores dates as ISO-8601 strings.
|
2015-07-11 16:51:01 +02:00 |
|
Gwendal Roué
|
514ca15c84
|
Typo
|
2015-07-11 12:52:25 +02:00 |
|
Gwendal Roué
|
5dd7f6d770
|
v0.3.0
|
2015-07-11 12:21:04 +02:00 |
|
Gwendal Roué
|
1a0738d348
|
Gather Blob together
|
2015-07-11 12:20:55 +02:00 |
|
Gwendal Roué
|
58d90ea75b
|
Documentation WIP
|
2015-07-11 11:01:51 +02:00 |
|
Gwendal Roué
|
515bd3112c
|
Documentation WIP
|
2015-07-11 10:58:05 +02:00 |
|
Gwendal Roué
|
cf6408b09c
|
Documentation WIP
|
2015-07-11 10:53:26 +02:00 |
|
Gwendal Roué
|
5334dcd769
|
Documentation WIP
|
2015-07-11 10:50:56 +02:00 |
|
Gwendal Roué
|
beea0299fa
|
Documentation WIP
|
2015-07-11 10:45:26 +02:00 |
|
Gwendal Roué
|
24e55d97a4
|
Documentation WIP
|
2015-07-11 10:33:33 +02:00 |
|
Gwendal Roué
|
e3148d1bae
|
Replace RowModelError.UnspecifiedTable and RowModelError.InvalidDatabaseDictionary with fatal errors.
|
2015-07-11 10:20:06 +02:00 |
|
Gwendal Roué
|
9e9eced691
|
Documentation WIP
|
2015-07-11 07:21:33 +02:00 |
|
Gwendal Roué
|
979026616e
|
Documentation WIP
|
2015-07-11 06:51:56 +02:00 |
|
Gwendal Roué
|
ecc2d87cd0
|
Remove unused & undocumente unsafe argument from Database.selectStatement(sql:bindings:)
|
2015-07-11 06:45:35 +02:00 |
|
Gwendal Roué
|
3789dbd329
|
Remove support for "INSERT OR REPLACE" et al. until we have a request for it.
|
2015-07-10 17:59:28 +02:00 |
|
Gwendal Roué
|
3079dcd5a6
|
Documentation
|
2015-07-10 14:01:29 +02:00 |
|
Gwendal Roué
|
2155fafd16
|
RowModel fetch methods based on keys accept nil. They return nil in this case.
|
2015-07-10 13:13:48 +02:00 |
|
Gwendal Roué
|
6ec750bf57
|
"isDirty" -> "isEdited"
|
2015-07-10 12:17:48 +02:00 |
|
Gwendal Roué
|
a3a0fa39f7
|
RowModel.setDirty()
|
2015-07-10 09:09:54 +02:00 |
|
Gwendal Roué
|
82141f7701
|
RowModel.copyDatabaseValuesFrom(_:)
|
2015-07-10 08:48:37 +02:00 |
|
Gwendal Roué
|
25b651cbaa
|
Blob can’t contain zero-length NSData, because SQLite can’t store zero-length blobs.
|
2015-07-10 08:17:15 +02:00 |
|
Gwendal Roué
|
1f77e27d8a
|
RowModel.isDirty experimentation, continued
|
2015-07-10 08:04:23 +02:00 |
|
Gwendal Roué
|
4887eaabb8
|
RowModel.isDirty experimentation
|
2015-07-10 07:42:47 +02:00 |
|
Gwendal Roué
|
27c54002b6
|
Make Blob.init?(NSData?) public
|
2015-07-09 08:58:37 +02:00 |
|
Gwendal Roué
|
b93c5a8b84
|
Xcode 7.0 beta 3 allows multiline chained method calls.
|
2015-07-09 08:25:12 +02:00 |
|
Gwendal Roué
|
e761956782
|
Xcode 7.0 beta 3 does not require explicit raw value for String enums.
|
2015-07-09 08:17:35 +02:00 |
|
Gwendal Roué
|
4d5491e0c7
|
Improve RowModel errors so that they help the developer during the design of his RowModel subclass.
|
2015-07-09 08:14:52 +02:00 |
|
Gwendal Roué
|
50ce41bc89
|
v0.1.0
|
2015-07-09 06:28:11 +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é
|
3de4c61978
|
Row(sqliteDictionary:) is no longer public
|
2015-07-08 12:07:35 +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é
|
a69c385f55
|
Remove context RowModel from RowModelError because it fucks up error catching (rdar://problem/21707972)
|
2015-07-07 20:35:16 +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é
|
af44eb47a3
|
Give RowModel.Version more responsabilities
|
2015-07-07 13:26:27 +02:00 |
|
Gwendal Roué
|
24f418c234
|
Clean up RowModel with RowModel.Version
|
2015-07-07 13:18:44 +02:00 |
|
Gwendal Roué
|
6330a2caad
|
Comments lie, they always lie.
|
2015-07-07 09:15:29 +02:00 |
|
Gwendal Roué
|
a5aadd16ad
|
Minor
|
2015-07-07 09:14:27 +02:00 |
|
Gwendal Roué
|
45fe4bc121
|
Minor
|
2015-07-07 09:00:43 +02:00 |
|
Gwendal Roué
|
a0c31a57a5
|
README.md
|
2015-07-07 08:35:19 +02:00 |
|
Gwendal Roué
|
ebf39fdd70
|
UpdateStatement.Changes store the changes performed by an update statement.
|
2015-07-07 08:33:46 +02:00 |
|
Gwendal Roué
|
86ceb1bdef
|
Documentation WIP
|
2015-07-07 08:14:19 +02:00 |
|
Gwendal Roué
|
e13892d703
|
RowModel supports conflict resolutions: INSERT OR REPLACE, etc.
|
2015-07-07 07:51:46 +02:00 |
|
Gwendal Roué
|
b39eae5f0b
|
SQLiteError tests
|
2015-07-06 20:32:20 +02:00 |
|
Gwendal Roué
|
f6119e91c2
|
Database.selectStatement() is no longer a throwing method.
|
2015-07-06 18:52:28 +02:00 |
|