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é
dd98fdbee1
SE-0059: Update API Naming Guidelines and Rewrite Set APIs Accordingly
2016-06-02 20:16:26 +02:00
Gwendal Roué
af43079e33
SE-0032: Add first(where:) method to Sequence
2016-06-02 20:10:31 +02:00
Gwendal Roué
aa6097dff8
swift-DEVELOPMENT-SNAPSHOT-2016-05-31-a
2016-06-02 19:58:58 +02:00
Gwendal Roué
bf0f9e1fa2
Merge pull request #63 from swiftlyfalling/preupdate-hooks
...
Add support for SQLite Pre-Update Hooks (+ tests)
2016-06-02 13:29:26 +02:00
Gwendal Roué
7c4ff7677d
swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a
2016-06-02 08:38:15 +02:00
Gwendal Roué
cb36991cb2
Cleanup Query Interface protocols
2016-06-02 08:09:44 +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
Gwendal Roué
fe7e39776b
Documentation
2016-05-31 06:49:35 +02:00
Gwendal Roué
da33e480c3
Improve Database.execute() detection of white-space string endings
2016-05-31 06:47:44 +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é
90f304a881
Typo
2016-05-30 12:33:42 +02:00
Gwendal Roué
ce7736a4b8
Failed statements can not be reused: remove them from the statement cache.
2016-05-30 12:21:20 +02:00
Gwendal Roué
9df4455f07
Minor
2016-05-30 08:22:00 +02:00
Gwendal Roué
5e4923b5bc
More tests and documentation for DatabaseScheduler
2016-05-30 08:10:39 +02:00
Gwendal Roué
9d00189ac0
Inner Documentation
2016-05-30 07:46:40 +02:00
Gwendal Roué
3af2d7c0df
Inner Documentation
2016-05-29 20:03:33 +02:00
Gwendal Roué
098e9fee8c
Issue #61 : TODO
2016-05-28 20:40:51 +02:00
Gwendal Roué
ee7f505cde
Issue #61 : add savepoint sanity check
2016-05-28 20:39:02 +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
Gwendal Roué
2cf606bdbd
Issue #61 : pass all tests for TransactionObserver and savepoints :-)
2016-05-28 15:59:20 +02:00
Gwendal Roué
03a5671bb0
Issue #61 : prevent SelectStatement from hiding the update statements we track
2016-05-28 14:51:54 +02:00
Gwendal Roué
37c16fbb48
Issue #61 : recognize savepoints statements
2016-05-28 14:44:37 +02:00
Gwendal Roué
92431f20d7
Issue #61 : DatabaseEvent.copy() returns an event that can outlive a transaction observer’s databaseDidChangeWithEvent callback.
2016-05-28 14:27:25 +02:00
Gwendal Roué
8d540751e1
Issue #60 : PrimaryKey documentation
2016-05-28 12:03:58 +02:00
Gwendal Roué
fc8b2ee679
Issue #60 : make cachedUpdateStatement() and cachedSelectStatement() public
2016-05-25 08:55:05 +02:00
Gwendal Roué
bc512e775c
Issue #60 : make PrimaryKey public
2016-05-25 08:41:54 +02:00
Gwendal Roué
2f18d1ff8b
Merge branch 'master' into RowAdapter
...
Conflicts:
GRDB/Record/FetchedRecordsController.swift
2016-05-21 16:03:45 +02:00
Gwendal Roué
9794b72607
Fixes #55
2016-05-21 15:08:16 +02:00
Gwendal Roué
eb726e47c3
RowAdapter documentation
2016-05-21 08:07:20 +02:00
Gwendal Roué
5378cd07bf
RowAdapter documentation
2016-05-20 23:37:11 +02:00
Gwendal Roué
d8b935369b
RowAdapter refactoring
2016-05-20 21:57:39 +02:00
Gwendal Roué
4e2f396b4a
RowAdapter refactoring
2016-05-20 21:00:50 +02:00
Gwendal Roué
daba5b2102
Merge branch 'master' into RowAdapter
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Record/FetchedRecordsController.swift
TODO.md
2016-05-19 20:40:26 +02:00
Gwendal Roué
9dbf992c40
Configuration.maximumReaderCount replaces DatabasePool initializer option
2016-05-19 18:10:36 +02:00
Gwendal Roué
92e1336db0
Fix issue #54
2016-05-19 14:00:45 +02:00
Gwendal Roué
25dd52fdda
Documentation
2016-05-19 05:55:06 +02:00
Gwendal Roué
c891c3cff8
Merge branch 'master' into RowAdapter
2016-05-19 05:40:15 +02:00
Gwendal Roué
917e75050e
Merge branch 'master' into RowAdapter
...
Conflicts:
GRDB/Core/Row.swift
2016-05-19 05:35:20 +02:00
Gwendal Roué
60fafd399f
Fix Database closing in GRDBCipher targets
2016-05-18 19:20:09 +02:00
Gwendal Roué
f553f2d2b0
Remove Row subscripting by column name; row.databaseValue(named:) returns an optional DatabaseValue
2016-05-18 19:03:29 +02:00
Gwendal Roué
4185de77e0
Remove DatabaseValue.failableValue()
2016-05-18 18:40:03 +02:00
Gwendal Roué
5c6bccd7b3
Issue #50 : Row equality now compares subrows
2016-05-18 16:25:24 +02:00
Gwendal Roué
51130c354b
Issue #50 : More MappedRowTests
2016-05-18 13:55:02 +02:00
Gwendal Roué
60ab73d8a4
Issue #50 : AdaptedRowImpl preserves column ordering
2016-05-18 09:04:39 +02:00
Gwendal Roué
2a39120b38
Issue #50 : RowAdapter mappings have mandatory matching columns in the iterated statement.
2016-05-18 08:27:52 +02:00
Gwendal Roué
c5bc699c26
Merge branch 'master' into RowAdapter
2016-05-18 07:53:17 +02:00