Gwendal Roué
|
87d6c5dd29
|
Cursor.prefix(_:)
|
2018-01-28 17:13:48 +01:00 |
|
Gwendal Roué
|
520bdd64e6
|
Tests for Cursor.dropFirst(_:)
|
2018-01-28 17:13:47 +01:00 |
|
Gwendal Roué
|
72608fd016
|
Cursor.dropLast(_:)
|
2018-01-28 17:13:47 +01:00 |
|
Gwendal Roué
|
c9044ea07b
|
Cursor.dropFirst(_:)
|
2018-01-28 17:13:47 +01:00 |
|
Gwendal Roué
|
28d0793688
|
Cursor.suffix(_:)
|
2018-01-28 17:13:46 +01:00 |
|
Gwendal Roué
|
3d845b1e9f
|
Cursor.prefix(while:)
|
2018-01-28 17:13:46 +01:00 |
|
Gwendal Roué
|
452c1d4b92
|
Cursor.drop(while:)
|
2018-01-28 17:13:46 +01:00 |
|
Gwendal Roué
|
1da85dff58
|
FTS5Pattern(matchingPrefixPhrase:)
|
2018-01-26 08:38:11 +01:00 |
|
Gwendal Roué
|
2289ed9d95
|
Cleanup Jazzy documentation from most redundant definitions and experimental APIs
|
2018-01-21 16:57:43 +01:00 |
|
Gwendal Roué
|
93d4587732
|
RecordBox
|
2018-01-20 20:26:36 +01:00 |
|
Gwendal Roué
|
a1e63d9028
|
Fix management of current transaction observation broker (and discover a new SQLite oddity)
|
2018-01-20 16:11:05 +01:00 |
|
Gwendal Roué
|
ffc5352840
|
Fix transaction observer crash
|
2018-01-19 16:17:38 +01:00 |
|
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 |
|