Commit Graph
18 Commits
Author SHA1 Message Date
Gwendal Roué 8d4522227c Replace all assertNoError and try! with throwing tests 2017-03-25 16:31:54 +01:00
Gwendal Roué ac6c7f6a35 #147: fetchAll() and fetchOne() can now throw database errors. 2016-11-26 22:38:40 +01:00
Gwendal Roué eac0901af0 Refactor database event filtering 2016-09-10 18:28:44 +02:00
Gwendal Roué 404706a3db Swift 3 tests 2016-08-07 13:19:53 +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 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é bc757016af Issue #61: Database.inSavepoint(named:) 2016-05-28 18:46:12 +02:00
Gwendal Roué 32cd559379 Issue #61: fix failing test for TransactionObserver and savepoints 2016-05-28 15:57:32 +02:00
Gwendal Roué ad8551b746 Issue #61: fix failing test for TransactionObserver and savepoints 2016-05-28 15:54:26 +02:00
Gwendal Roué a26bef8813 Issue #61: failing test for TransactionObserver with several identically named savepoints 2016-05-28 15:09:56 +02:00
Gwendal Roué 34dad07393 Issue #61: failing test for Database.isInsideTransaction after a SAVEPOINT statement 2016-05-28 15:03:02 +02:00
Gwendal Roué 5453aec1d0 Issue #61: fix failing test for TransactionObserver and savepoints 2016-05-28 15:00:26 +02:00
Gwendal Roué 9b6b66d22d Issue #61: fix failing test for TransactionObserver and savepoints 2016-05-28 14:25:39 +02:00
Gwendal Roué 83477c67d7 Issue #61: failing tests for TransactionObserver and savepoints 2016-05-28 13:59:15 +02:00
Gwendal Roué ac31392b90 Issue #61: test TransactionObserver with a simple savepoint 2016-05-28 13:42:48 +02:00