Gwendal Roué
|
27e94c211d
|
Upgrade SPM test app to v3.0.0
|
2018-06-07 13:53:16 +02:00 |
|
Gwendal Roué
|
7e6de4fbd0
|
Test TableRequest.orderByPrimaryKey()
|
2018-06-05 22:46:24 +02:00 |
|
Gwendal Roué
|
60eb868fa5
|
Failing tests for Database.indexes(on:) and Database.foreignKeys(on:)
|
2018-06-05 14:38:47 +02:00 |
|
Gwendal Roué
|
6130c6f985
|
Who guessed String ordering would depend on Swift version? Fix a test so that it runs in both Swift 4.1 and Swift 4.2
|
2018-06-05 08:03:50 +02:00 |
|
Gwendal Roué
|
b7f44785ec
|
The SQL statement generated by record.update(db) lists columns in the same order as in the table definition (this fixes tests made flaky by SE-0206)
|
2018-06-05 08:02:54 +02:00 |
|
Gwendal Roué
|
7b59c097c6
|
Test for default implementation for TableRecord.databaseTableName
|
2018-05-22 22:43:01 +02:00 |
|
Gwendal Roué
|
7be345521b
|
Associations: new "DerivableRequest Protocol" documentation chapter
|
2018-05-20 16:14:23 +02:00 |
|
Gwendal Roué
|
a35f012286
|
Cleanup
|
2018-05-07 17:50:27 +02:00 |
|
Gwendal Roué
|
2d008b8c54
|
Yet another request protocols update, in order to empower RxGRDB
|
2018-05-05 11:57:17 +02:00 |
|
Gwendal Roué
|
cdad6fa313
|
Introduce DerivableRequest
|
2018-05-04 14:19:27 +02:00 |
|
Gwendal Roué
|
ffaabdfd62
|
Toward improved DatabaseRegion for joined requests
|
2018-05-01 17:20:37 +02:00 |
|
Gwendal Roué
|
66a425f718
|
Thread-safe table name disambiguation, via SQLGenerationContext. Merge SQLTableQualifier into TableAlias.
|
2018-05-01 14:44:51 +02:00 |
|
Gwendal Roué
|
5747d1cff0
|
No more #if swift(>=4.1)
|
2018-04-30 08:26:23 +02:00 |
|
Gwendal Roué
|
3e46942f30
|
Associations
|
2018-04-29 18:16:39 +02:00 |
|
Gwendal Roué
|
f4382e6bcb
|
Test that request.reversed() has no effect when request is not already ordered
|
2018-04-26 12:52:01 +02:00 |
|
Gwendal Roué
|
5ee390f0da
|
No more support for CodingKey & ColumnExpression
|
2018-04-23 08:19:15 +02:00 |
|
Gwendal Roué
|
f2ae44384f
|
Rename SQLColumnExpression to ColumnExpression
|
2018-04-22 18:13:47 +02:00 |
|
Gwendal Roué
|
e54ccdfc54
|
Tests for SQLColumnExpression
|
2018-04-22 14:56:51 +02:00 |
|
Gwendal Roué
|
29b364d5cb
|
Introduce SQLColumnExpression
|
2018-04-22 14:56:40 +02:00 |
|
Gwendal Roué
|
822ff97050
|
Tests for TableDefinition.autoIncrementedPrimaryKey
|
2018-04-21 19:41:45 +02:00 |
|
Gwendal Roué
|
729f6bdc6c
|
Tests for joined(operator:)
|
2018-04-21 17:05:03 +02:00 |
|
Gwendal Roué
|
4e57bf5a0e
|
Fix a youth error: DatabaseDateComponents initializer from DateComponents is no longer failable
|
2018-04-21 15:27:21 +02:00 |
|
Gwendal Roué
|
223d0a3fd3
|
Merge remote-tracking branch 'origin/development' into GRDB3
|
2018-04-21 15:20:36 +02:00 |
|
Gwendal Roué
|
219f96a11a
|
More DatabaseDateComponents parsing tests
|
2018-04-21 10:16:49 +02:00 |
|
Gwendal Roué
|
9e380e5fea
|
Cleanup
|
2018-04-20 19:14:32 +02:00 |
|
Gwendal Roué
|
f12495b24a
|
New DateParsingTests in GRDBOSXPerformanceTests
|
2018-04-20 19:06:02 +02:00 |
|
Gwendal Roué
|
4b3854d05d
|
Finally, the meat: perform breadth-first search in let record = row[key], and in FetchableRecord & Decodable
|
2018-04-19 20:46:58 +02:00 |
|
Gwendal Roué
|
0362ae76ea
|
Rename Row.Scopes to Row.ScopesView. Move breadth-first lookup to a new view, row.scopesTree, of type Row.ScopesTreeView
|
2018-04-19 20:29:11 +02:00 |
|
Gwendal Roué
|
098c11baf2
|
Row.Scopes.lookup(_:) performs a breadth-first lookup of a scope name
|
2018-04-19 19:50:43 +02:00 |
|
Gwendal Roué
|
7e260cf537
|
Update tests for new Row.scopes view
|
2018-04-19 14:41:49 +02:00 |
|
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 |
|