Gwendal Roué
83c3745165
Documentation
2017-06-30 07:47:14 +02:00
Gwendal Roué
56a4a964b7
QueryInterfaceRequest.order() clears the isReversed flag
2017-06-30 07:47:13 +02:00
Gwendal Roué
c9a02faf08
Refactor AdaptedTypedRequest around AdaptedRequest
2017-06-30 07:47:13 +02:00
Gwendal Roué
e59388738e
FetchedRecordsController: don't assume constant row layout when comparing records
2017-06-30 07:47:13 +02:00
Gwendal Roué
c8368d98eb
Refactor FetchedRecordsController so that it stops using deprecated TableMapping.primaryKeyRowComparator
2017-06-30 07:47:13 +02:00
Gwendal Roué
d12dad2e34
Deprecate TableMapping.primaryKeyRowComparator
2017-06-30 07:47:13 +02:00
Gwendal Roué
9609e2ac4c
Database.foreignKeys(on:)
2017-06-20 07:54:19 +02:00
Gwendal Roué
31aea350cb
Rename Database.afterCommit(_:) to Database.afterNextTransactionCommit(_:)
2017-06-20 07:54:19 +02:00
Gwendal Roué
56869577d4
Documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
ed3c597a92
Documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
cbb607b6b0
SQLSpecificExpressible.collating(_:) inline documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
7f64abe820
Identify experimental features in the inline documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
b43dc1ba37
Less TODO
2017-06-20 07:54:19 +02:00
Gwendal Roué
59962e5e88
Identify experimental features in the inline documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
8eabcecb69
Fix TransactionObservationExtent.nextTransaction
2017-06-20 07:54:19 +02:00
Gwendal Roué
a3ad726111
Cleanup
2017-06-20 07:54:19 +02:00
Gwendal Roué
1c3824f4b9
Don't retain weak transaction observers
2017-06-20 07:54:19 +02:00
Gwendal Roué
2f79d5f805
Database.afterCommit(_:)
2017-06-20 07:54:19 +02:00
Gwendal Roué
90a46f6556
Introduce TransactionObservationExtent
2017-06-20 07:54:19 +02:00
Gwendal Roué
8ea215931e
Refactor Request
...
Rename TypedRequest's associated type from `Fetched` to `RowConverter`, because if TypedRequest needs a type that can decode rows, the type of the decoded rows does not need to be identical to the decoder type.
Introduce AdaptedRequest and AdaptedTypedRequest as results of Request.adapted(_:) and TypedRequest.adapted(_:), instead of the generic AnyRequest and AnyTypedRequest.
2017-06-20 07:54:19 +02:00
Gwendal Roué
0c192fcb57
DatabaseMigrator.migrate(_:upTo:)
2017-06-20 07:54:19 +02:00
Gwendal Roué
e24cb1783c
Change default transaction kind to deferred (the SQLite default).
2017-06-20 07:54:19 +02:00
Gwendal Roué
a913aba018
Replace persistentDictionary with encode(to:)
2017-06-20 07:54:19 +02:00
Gwendal Roué
604cf6b522
Remove QueryInterfaceRequest.contains(_:)
2017-06-20 07:54:19 +02:00
Gwendal Roué
b3d731b040
Remove QueryInterfaceRequest.exists()
2017-06-20 07:54:19 +02:00
Gwendal Roué
60e6c7d250
Remove DatabaseCoder
2017-06-20 07:54:19 +02:00
Gwendal Roué
973f38727d
More Xcode-9 fixes
2017-06-09 06:44:26 +02:00
David Hart
deaac5808d
Make the bug-fix conditional to continue building on 3.1
2017-06-09 06:44:26 +02:00
David Hart
22dc01610e
Fix compilation with Xcode 9 in compatibilty mode
2017-06-09 06:44:26 +02:00
Gwendal Roué
10e669423f
Use the dbValue identifier for variables of type DatabaseValue
2017-06-01 08:35:14 +02:00
Gwendal Roué
d1d1a5da77
Improve SelectionInfo for SQLite 3.19.0
2017-05-28 13:15:41 +02:00
Gwendal Roué
713d58612e
SQLite 3.19.0 wants authorizer callbacks to be prepared from NULL inputs
2017-05-28 13:15:41 +02:00
Gwendal Roué
ec65335fcd
Use sqlite3_trace_v2 when available (addresses #100 )
2017-05-25 17:13:04 +02:00
Gwendal Roué
612f8059b8
Documentation
2017-05-22 19:58:01 +02:00
Gwendal Roué
55e4abd534
Rename USING_SQLCIPHER to GRDBCIPHER and USING_CUSTOMSQLITE to GRDBCUSTOMSQLITE
2017-05-22 19:15:10 +02:00
Gwendal Roué
f858bcbe5b
Rename Request.fetching(_:) to Request.asRequest(of:)
2017-05-22 18:55:51 +02:00
Gwendal Roué
cd107711a9
Rename Request.bound(to:) to Request.fetching(_:)
2017-05-22 18:37:46 +02:00
Gwendal Roué
ce4c20b112
Replace DatabaseWriter.availableDatabaseConnection with unsafeReentrantWrite()
2017-05-22 18:10:19 +02:00
Gwendal Roué
1e12068e64
DatabaseEventKind.impacts(_ selectionInfo:SelectStatement.SelectionInfo) now returns an non-optional boolean.
2017-05-22 13:53:59 +02:00
Gwendal Roué
1799fe1ff9
Consistently crash for all failed conversions from DatabaseValue
2017-05-22 13:51:39 +02:00
Gwendal Roué
828ef48441
Database.setupErrorLog() rewrite
2017-05-08 13:27:51 +02:00
Gwendal Roué
f606e633da
Drop RowConvertible.awakeFromFetch
2017-05-05 13:20:37 +02:00
Gwendal Roué
4938568ea7
Refactor statement cache, allow SQLRequest to use cached statements
2017-05-04 20:11:45 +02:00
Gwendal Roué
4edd76341e
There are two statement caches: one for statements generated by the user, and one for the statements generated by GRDB. Those are separated so that GRDB has no opportunity to inadvertently modify the arguments of user statements.
2017-05-04 18:05:36 +02:00
Andrey Fidrya
6cf59838a6
Enable logging when using SPM
2017-04-22 20:04:09 +03:00
Gwendal Roué
595408b351
Rename logErrorFunction into logError
2017-04-22 17:57:33 +02:00
Gwendal Roué
27314d1af3
No Database.logErrorFunction for SPM
2017-04-22 16:35:12 +02:00
Gwendal Roué
4f14fb0ccd
Support for SQLITE_CONFIG_LOG via Database.logErrorFunction
2017-04-22 15:11:01 +02:00
Gwendal Roué
dae4ae1c6b
Reduce internal coupling
2017-04-22 11:12:43 +02:00
Gwendal Roué
c8023adff1
Cleanup
2017-04-20 14:49:08 +02:00