Gwendal Roué
|
4fe2b2542f
|
Cleanup
|
2018-01-18 12:54:02 +01:00 |
|
Gwendal Roué
|
c4ef161a83
|
Rename Statement.region and Request.region to fetchedRegion
|
2018-01-17 06:54:10 +01:00 |
|
Gwendal Roué
|
bb48025947
|
Derived requests ought to preserve database region: fix failing tests
|
2018-01-16 20:39:19 +01:00 |
|
Gwendal Roué
|
714cc1c734
|
DatabaseRegion() is public
|
2018-01-16 19:57:30 +01:00 |
|
Gwendal Roué
|
8d0da7f870
|
DatabaseRegion documentation
|
2018-01-16 18:47:59 +01:00 |
|
Gwendal Roué
|
e42e74103d
|
DatabaseRegion documentation
|
2018-01-16 18:46:55 +01:00 |
|
Gwendal Roué
|
4bcdb91895
|
AnyRequest and all derived requests preserve database region, and counting method
|
2018-01-16 14:11:05 +01:00 |
|
Gwendal Roué
|
938977bbca
|
Cleanup DatabaseRegion: no more public intersection, no more public way to specify rowids
|
2018-01-16 13:58:55 +01:00 |
|
Gwendal Roué
|
4eff5ab357
|
More TODO
|
2018-01-16 09:06:53 +01:00 |
|
Gwendal Roué
|
72de142519
|
Cleanup
|
2018-01-16 08:50:49 +01:00 |
|
Gwendal Roué
|
0a7468f56d
|
Cleanup
|
2018-01-16 08:34:54 +01:00 |
|
Gwendal Roué
|
33b5c6c616
|
Rename DatabaseSelectionInfo to DatabaseRegion
|
2018-01-16 08:23:08 +01:00 |
|
Gwendal Roué
|
4003d7600d
|
DatabaseSelectionInfo documentation WIP
|
2018-01-15 23:41:49 +01:00 |
|
Gwendal Roué
|
a7122ba8bb
|
Unit tests for DatabaseSelectionInfo.isModified methods
|
2018-01-15 23:09:52 +01:00 |
|
Gwendal Roué
|
fc1b4a6f35
|
Complete refactoring of SelectStatement.SelectionInfo into DatabaseSelectionInfo
|
2018-01-15 22:28:43 +01:00 |
|
Gwendal Roué
|
4501d7dcde
|
TransactionObserver: provide default implementation for rarely used and stabilized databaseWillChange() and databaseWillCommit() methods
|
2018-01-14 22:58:12 +01:00 |
|
Gwendal Roué
|
5d463d6bff
|
Goal achieved! FetchedRecordsController uses ignoreDatabaseChangesUntilNextTransaction, and checks changed rowIds in order to avoid useless fetch requests
|
2018-01-14 22:41:27 +01:00 |
|
Gwendal Roué
|
9c8a9fbe32
|
SelectionInfo.rowIds contains the rowIds fetched by a request
|
2018-01-14 22:05:18 +01:00 |
|
Gwendal Roué
|
33e8d0875d
|
Remove update hook when no observer is active. Allow truncate optimization when deletions are not observed.
|
2018-01-14 19:34:11 +01:00 |
|
Gwendal Roué
|
980860b2e9
|
Documentation for TransactionObserver.ignoreDatabaseChangesUntilNextTransaction()
|
2018-01-14 17:35:17 +01:00 |
|
Gwendal Roué
|
eaadd37e87
|
TransactionObserver.ignoreDatabaseChangesUntilNextTransaction() is public
|
2018-01-14 17:08:42 +01:00 |
|
Gwendal Roué
|
a1e508b1df
|
TransactionObserver.ignoreDatabaseChangesUntilNextTransaction()
|
2018-01-14 16:45:36 +01:00 |
|
Gwendal Roué
|
c940675bf3
|
Fix typo
|
2018-01-12 09:12:35 +01:00 |
|
Gwendal Roué
|
0d236ae32c
|
Row adopts RandomAccessCollection
|
2018-01-12 08:18:50 +01:00 |
|
Gwendal Roué
|
9a2bf923d2
|
Update CHANGELOG and README for new key-filtering requests
|
2018-01-11 20:04:49 +01:00 |
|
Gwendal Roué
|
9b27c0c651
|
WIP TableMapping.filter(key: [:]) and TableMapping.filter(keys: [[:], ])
|
2018-01-11 19:34:28 +01:00 |
|
Gwendal Roué
|
2af85e7347
|
WIP TableMapping.filter(key:1) and TableMapping.filter(keys: [1, 2, 3])
|
2018-01-11 18:09:01 +01:00 |
|
Gwendal Roué
|
071f0f4443
|
Cleanup
|
2018-01-10 08:50:45 +01:00 |
|
Gwendal Roué
|
79a5fb9c15
|
Cleanup
|
2018-01-08 08:44:42 +01:00 |
|
Gwendal Roué
|
c7d500b8ba
|
Optimize database event notifications for simple statements without side effect
|
2018-01-07 14:25:29 +01:00 |
|
Gwendal Roué
|
95a09cb644
|
Only notify observed events to transaction observers
|
2018-01-07 13:33:35 +01:00 |
|
Gwendal Roué
|
94715130fc
|
DatabaseWriter.readFromCurrentState(_:) now fails with a fatal error if a transaction is currently opened
|
2018-01-06 09:19:26 +01:00 |
|
Gwendal Roué
|
6fe9098c76
|
Statement compilation cleanup
|
2018-01-02 13:10:11 +01:00 |
|
Gwendal Roué
|
631a914acd
|
Fix failing test for schema cache shared between DatabasePool reader and writer (stop sharing cache)
|
2018-01-02 13:08:41 +01:00 |
|
Gwendal Roué
|
c51a3cd624
|
Statement compilation cleanup
|
2017-12-17 13:57:35 +01:00 |
|
Gwendal Roué
|
d567ee60bf
|
Remove compiler warning
|
2017-12-08 10:51:31 +01:00 |
|
Gwendal Roué
|
5b7f4a7ff5
|
Call sqlite3_config(SQLITE_CONFIG_LOG, ...) if and only if Database.logError is set.
|
2017-12-07 13:14:49 +01:00 |
|
Gwendal Roué
|
a3d8df222f
|
Fix documentation typo
|
2017-12-01 13:20:17 +01:00 |
|
Gwendal Roué
|
e8835af363
|
Database.dropFTS4SynchronizationTriggers & Database.dropFTS5SynchronizationTriggers
|
2017-12-01 13:14:13 +01:00 |
|
Gwendal Roué
|
1fabe08332
|
Trust SQLite: don't assert anything about the remaining characters after a statement
|
2017-11-30 08:53:10 +01:00 |
|
Gwendal Roué
|
8ce2c09b52
|
TableAlteration.add(column:type:) accepts nil type
|
2017-11-29 20:11:28 +01:00 |
|
Gwendal Roué
|
81d2f21093
|
Cleanup
|
2017-11-10 08:45:05 +01:00 |
|
Gwendal Roué
|
fd73a31abc
|
Fix failing tests and faulty assert
|
2017-11-09 14:29:59 +01:00 |
|
Gwendal Roué
|
820bc87cfe
|
No more exception for empty deferred transactions
|
2017-11-07 14:42:02 +01:00 |
|
Gwendal Roué
|
caf051f19d
|
Improve jazzy documentation layout
|
2017-10-31 13:37:48 +01:00 |
|
Gwendal Roué
|
49609ff08e
|
Fix failing tests for observation of empty deferred transactions
|
2017-10-31 08:17:48 +01:00 |
|
Gwendal Roué
|
af8a6872d9
|
StatementCompilationAuthorizer never returns SQLITE_IGNORE for a "DROP XXX" statement (#267)
|
2017-10-30 18:12:57 +01:00 |
|
Gwendal Roué
|
f40a5e68ea
|
Database.triggerExists(_:)
|
2017-10-30 18:10:22 +01:00 |
|
Gwendal Roué
|
c4ad98426c
|
Pass failing tests for "DROP VIEW" statements (#267)
|
2017-10-30 17:57:57 +01:00 |
|
Gwendal Roué
|
d64bfe1cec
|
Database.viewExists(_:)
|
2017-10-30 17:38:52 +01:00 |
|