Matt Greenfield
|
7320f88066
|
Revert "fix the tests to expect less nanosecond precision loss"
This reverts commit eba5df1fcc.
|
2018-04-17 15:14:18 +07:00 |
|
Matt Greenfield
|
bde72e562e
|
Revert "permit precision loss down to 3 sig figs"
This reverts commit 3bcc5b8064.
|
2018-04-17 15:14:09 +07:00 |
|
Matt Greenfield
|
3bcc5b8064
|
permit precision loss down to 3 sig figs
|
2018-04-17 13:20:11 +07:00 |
|
Matt Greenfield
|
eba5df1fcc
|
fix the tests to expect less nanosecond precision loss
|
2018-04-17 12:57:59 +07:00 |
|
Gwendal Roué
|
d39f02113c
|
Restore T.fetchXXX(db, request) APIs which were removed in PR #311
|
2018-04-16 08:50:55 +02:00 |
|
Gwendal Roué
|
ea3f22c8a4
|
Fix tests that were failing now that DatabaseQueue.inDatabase runs inside a transaction
|
2018-04-13 18:07:24 +02:00 |
|
Gwendal Roué
|
d78479e4af
|
[WIP] DatabaseQueue.inDatabase runs inside a transaction
|
2018-04-13 08:56:03 +02:00 |
|
Gwendal Roué
|
267371ba90
|
Tests that DatabasePool.write opens a transaction
|
2018-04-13 08:20:17 +02:00 |
|
Gwendal Roué
|
bc244802c0
|
Update tests for DatabasePool/Writer.writeWithoutTransaction
|
2018-04-12 07:58:23 +02:00 |
|
Gwendal Roué
|
563a4d5c71
|
Introduce DatabaseWriter.writeWithoutTransaction
|
2018-04-11 20:03:18 +02:00 |
|
Gwendal Roué
|
fa68b62be1
|
Improve Row.description & Row.debugDescription
|
2018-04-11 13:39:44 +02:00 |
|
Gwendal Roué
|
b9333fab34
|
Update a few tests that have been broken by 64899e5a39.
(Some expressions which were not safely wrapped inside parenthesis now are wrapped inside parenthesis)
|
2018-04-10 13:45:31 +02:00 |
|
Gwendal Roué
|
2dfbe8e5f2
|
Prevent snapshot creation from within a transaction
|
2018-03-31 15:56:42 +02:00 |
|
Gwendal Roué
|
c3f9c75b3c
|
Rename databaseEqual to databaseEquals
|
2018-03-31 14:53:22 +02:00 |
|
Gwendal Roué
|
75d5c2a39f
|
SE-0187: deprecate Cursor.flatMap in favor of Cursor.compactMap
|
2018-03-12 18:20:10 +01:00 |
|
Gwendal Roué
|
85d3c584ef
|
Swift 4.1 compatibility (SE-0184 , SE-0187)
|
2018-03-12 18:20:10 +01:00 |
|
Gwendal Roué
|
ad0f6de809
|
Fix Xcode9.3 warnings
|
2018-03-12 18:20:10 +01:00 |
|
Gwendal Roué
|
3bbc17fe4a
|
Rename "record changes tracking" to "record comparison" in order to avoid confusion with database changes tracking performed by database observation
|
2018-02-28 08:58:27 +01:00 |
|
Gwendal Roué
|
dbde432948
|
Remove deprecated APIs
|
2018-02-28 08:35:07 +01:00 |
|
Gwendal Roué
|
1a91020a84
|
After all, FetchableRecord and PersistableRecord
|
2018-02-27 19:25:49 +01:00 |
|
Gwendal Roué
|
08a08cd74f
|
Rename MutablePersistable to EncodableRecord
|
2018-02-27 18:46:32 +01:00 |
|
Gwendal Roué
|
639de6ca11
|
Rename TableMapping to TableRecord
|
2018-02-27 13:28:29 +01:00 |
|
Gwendal Roué
|
ba6a026cdc
|
Rename RowConvertible to DecodableRecord
|
2018-02-27 13:17:51 +01:00 |
|
Gwendal Roué
|
15a0ea79b0
|
Drop IteratorCursor, use AnyCursor instead
|
2018-02-27 08:11:48 +01:00 |
|
Gwendal Roué
|
3bbcb8151d
|
Update JoinSupportTests for FetchRequest
|
2018-02-26 22:34:46 +01:00 |
|
Gwendal Roué
|
f605e049fd
|
Rename TypedRequest to FetchRequest, drop Request
|
2018-02-26 13:12:33 +01:00 |
|
Gwendal Roué
|
b0e126f29d
|
SE-0187: deprecate Cursor.flatMap in favor of Cursor.compactMap
|
2018-02-25 09:24:23 +01:00 |
|
Gwendal Roué
|
d8c411ad52
|
Swift 4.1 compatibility (SE-0184 , SE-0187)
|
2018-02-25 09:24:23 +01:00 |
|
Gwendal Roué
|
4f8f0e0bf3
|
Fix Xcode9.3 warnings
|
2018-02-25 09:23:05 +01:00 |
|
Gwendal Roué
|
9168bac16e
|
Deprecate RecordBox. Introduce changes API on MutablePersistable. Rename Record changes tracking methods.
|
2018-02-24 16:19:21 +01:00 |
|
Gwendal Roué
|
5e4406e78c
|
Improves documentation (addresses #306)
|
2018-02-24 07:54:42 +01:00 |
|
Gwendal Roué
|
76561a567f
|
Introduce DatabaseSnapshot
|
2018-02-24 07:37:26 +01:00 |
|
Gwendal Roué
|
8288f0c751
|
Add a real-life test for allowsUnsafeTransactions
|
2018-02-23 19:11:38 +01:00 |
|
Gwendal Roué
|
7dc008db8b
|
Expose Database.beginTransaction(), commit(), rollback(). New Configuration.allowsUnsafeTransactions flag. New fatal error when a database access block ends with a transaction left opened.
|
2018-02-23 14:14:05 +01:00 |
|
Gwendal Roué
|
00825748ff
|
Fix ColumnInfo test (it is different with SQLite < 3.7.16)
|
2018-02-23 12:53:41 +01:00 |
|
Gwendal Roué
|
9a1dc7f292
|
Cleanup
|
2018-02-23 08:32:17 +01:00 |
|
Gwendal Roué
|
c68fc37959
|
Cleanup
|
2018-02-23 08:17:15 +01:00 |
|
Gwendal Roué
|
aa1f555e05
|
Drop init(leftJoinedRow:), and expose Row subscripts that return records
|
2018-02-23 08:08:00 +01:00 |
|
Gwendal Roué
|
37d7c84bc3
|
Splitting rows: documentation WIP
|
2018-02-22 22:30:13 +01:00 |
|
Gwendal Roué
|
79ed15c38c
|
Deprecate Database.columnCount(in:) in favor of Database.columns(in:). Update doc and changelog
|
2018-02-22 14:00:19 +01:00 |
|
Gwendal Roué
|
ae3319e9f9
|
Make ColumnInfo public (asked by @freak4pc)
|
2018-02-22 13:20:41 +01:00 |
|
Gwendal Roué
|
5112cb24f5
|
Expose EmptyRowAdapter, and ScopeAdapter(base:scopes:)
|
2018-02-22 12:38:03 +01:00 |
|
Gwendal Roué
|
bd694cbc53
|
Cleanup
|
2018-02-22 08:50:35 +01:00 |
|
Gwendal Roué
|
288144f347
|
splittingRowAdapters(columnCounts:), ScopeAdapter(nestedScopes:), RowConvertible?(leftJoinedRow:), TableMapping.numberOfSelectedColumns(_:), support for nested codable records
|
2018-02-21 23:15:13 +01:00 |
|
Gwendal Roué
|
3bdfdaa40a
|
TableMapping.selectionSQL(_:)
|
2018-02-21 13:51:37 +01:00 |
|
Gwendal Roué
|
b5d9955442
|
Tests: setup Database.logError only once (and avoid SQLite misuse)
|
2018-02-20 13:16:11 +01:00 |
|
Gwendal Roué
|
feb5cb35b4
|
Record.updateChanges now returns whether the record had changes
|
2018-02-20 13:06:58 +01:00 |
|
Gwendal Roué
|
9f1f51637a
|
Tests for Cursor.joined(separator:String)
|
2018-01-28 17:13:52 +01:00 |
|
Gwendal Roué
|
7ca582719b
|
Tests for Cursor.reduce(into:_:)
|
2018-01-28 17:13:51 +01:00 |
|
Gwendal Roué
|
ac6b2933a8
|
Tests for Cursor.max(by:), max(), min(by:), min()
|
2018-01-28 17:13:50 +01:00 |
|