Gwendal Roué
eac0901af0
Refactor database event filtering
2016-09-10 18:28:44 +02:00
Gwendal Roué
e11673d15c
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB/Core/Database.swift
GRDB/FetchRequest/SQLSelectQuery.swift
GRDB/Record/FetchedRecordsController.swift
GRDB/Record/TableMapping.swift
Tests/Public/Core/Persistable/MutablePersistableTests.swift
Tests/Public/Core/Persistable/PersistableTests.swift
Tests/Public/Core/Savepoint/SavepointTests.swift
Tests/Public/Core/TransactionObserver/TransactionObserverSavepointsTests.swift
Tests/Public/Core/TransactionObserver/TransactionObserverTests.swift
2016-06-03 05:17:11 +02:00
Gwendal Roué
88c284dbf1
Merge branch 'master' into Swift3bis
...
Conflicts:
GRDB/Core/Database.swift
GRDB/FetchRequest/QueryInterfaceRequest.swift
GRDB/FetchRequest/SQLCollation.swift
GRDB/FetchRequest/SQLFunction.swift
GRDB/FetchRequest/SQLOperator.swift
GRDB/FetchRequest/SQLSelectQuery.swift
README.md
2016-06-02 20:47:04 +02:00
Gwendal Roué
7c4ff7677d
swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a
2016-06-02 08:38:15 +02:00
swiftlyfalling
901b7a0f12
Add support for SQLite Pre-Update Hooks (+ tests)
...
If SQLITE_ENABLE_PREUPDATE_HOOK is defined, and GRDB is built with a
custom SQLite library with the functionality (see: GRDBCustomSQLite),
enable support for SQLite Pre-Update Hooks and the new
`willChangeWithEvent` callback on TransactionObservers.
2016-06-01 20:42:21 -04:00
swiftlyfalling
5cb4044408
Merge remote-tracking branch 'groue/master' into Custom-SQLite
2016-05-31 17:33:59 -04:00
Gwendal Roué
df5a327da4
Top-level Database.inSavepoint opens a transaction if the default transaction kind is not DEFERRED
2016-05-31 13:09:33 +02:00
swiftlyfalling
30bc7e4f6c
Replace most uses of #if SQLITE_HAS_CODEC with the appropriate USING_BUILTIN_SQLITE or USING_SQLCIPHER defines.
...
This enables easier compilation of a custom version of SQLite that
itself uses the SQLITE_HAS_CODEC define. (ex. If building SQLite with
the SQLite Encryption Extension.)
The SQLITE_HAS_CODEC define is now only used to guard use of the SQLite
encryption APIs.
GRDBCipher builds define USING_BUILTIN_SQLITE and USING_SQLCIPHER.
2016-05-30 18:19:45 -04:00
Gwendal Roué
1d0f670100
Issue #61 : more savepoint tests
2016-05-28 20:39:27 +02:00
Gwendal Roué
4581850b05
Issue #61 : since savepoint names can be reused and nested, there is no purpose forcing the user to name them: use a single default savepoint name. And provide thorough testing.
2016-05-28 18:57:07 +02:00
Gwendal Roué
bc757016af
Issue #61 : Database.inSavepoint(named:)
2016-05-28 18:46:12 +02:00