Gwendal Roué
|
b60892be3e
|
Renamed "Bindings" to "QueryArguments".
|
2015-07-17 09:05:18 +02:00 |
|
Gwendal Roué
|
2dec12ed99
|
Remove Statement.bindings setter and bindings argument in Statement.init(…) from public APIs.
|
2015-07-17 08:32:26 +02:00 |
|
Gwendal Roué
|
e79fcb04ed
|
Use String(reflecting:) when printing Bindings and RowModels
|
2015-07-17 08:10:16 +02:00 |
|
Gwendal Roué
|
6c2f8cacab
|
Documentation WIP
|
2015-07-17 07:55:56 +02:00 |
|
Gwendal Roué
|
29ef1b70d5
|
Remove unused Bindings initializer
|
2015-07-17 07:53:22 +02:00 |
|
Gwendal Roué
|
c8f4cf8a27
|
RowModel.save() calls RowModel.insert() or RowModel.update() and thus activates eventual overrides of those methods.
|
2015-07-16 19:40:35 +02:00 |
|
Gwendal Roué
|
1eb5c2c9c1
|
Test that RowModel.isEdited is false after a RowModel has been initialized with a row that is wider than its storedDatabaseDictionary.
|
2015-07-16 09:54:17 +02:00 |
|
Gwendal Roué
|
58954e6ec7
|
Minor
|
2015-07-16 09:04:19 +02:00 |
|
Gwendal Roué
|
9c9f715c61
|
Remove unused Row initializer
|
2015-07-16 08:56:28 +02:00 |
|
Gwendal Roué
|
a61503ce17
|
Bindings(NSArray) & Bindings(NSDictionary) accepts NSData elements
|
2015-07-16 08:48:48 +02:00 |
|
Gwendal Roué
|
231996f6ee
|
Reintegrate DataMapper as a private sub-type of RowModel
|
2015-07-15 13:40:51 +02:00 |
|
Gwendal Roué
|
0430df07e4
|
DataMapper clean up
|
2015-07-13 18:54:49 +02:00 |
|
Gwendal Roué
|
f4c4d97048
|
RowModel is no longer edited after a successful save().
|
2015-07-13 12:09:48 +02:00 |
|
Gwendal Roué
|
2e17c812b3
|
Extract DataMapper from RowModel. Make sure DataMapper has read-only access to RowModel.
|
2015-07-13 12:07:44 +02:00 |
|
Gwendal Roué
|
dc8ce79aae
|
Documentation WIP
|
2015-07-13 08:09:02 +02:00 |
|
Gwendal Roué
|
3dd08dd803
|
Declare DatabaseQueue.inDatabase() as rethrows.
|
2015-07-12 16:23:42 +02:00 |
|
Gwendal Roué
|
ce272d7d81
|
v0.4.0
|
2015-07-12 15:09:53 +02:00 |
|
Gwendal Roué
|
c7d8d1fabb
|
Documentation WIP
|
2015-07-12 13:25:33 +02:00 |
|
Gwendal Roué
|
554ed9fcd5
|
Change RowModel.save(db) so that it inserts when no database row could be updated.
|
2015-07-12 13:20:58 +02:00 |
|
Gwendal Roué
|
d685954951
|
Improve error messages for misconfigured RowModel
|
2015-07-12 09:01:22 +02:00 |
|
Gwendal Roué
|
9f33822732
|
Row.value(atIndex:) and Row.value(named:) crash when asked for out of bound index or unknown column name.
|
2015-07-12 08:52:29 +02:00 |
|
Gwendal Roué
|
4003c9c2d7
|
Row.value(atIndex:) and Row.value(named:) crash when asked for out of bound index or unknown column name.
|
2015-07-12 08:48:13 +02:00 |
|
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 |
|