Gwendal Roué
|
4938568ea7
|
Refactor statement cache, allow SQLRequest to use cached statements
|
2017-05-04 20:11:45 +02:00 |
|
Gwendal Roué
|
4edd76341e
|
There are two statement caches: one for statements generated by the user, and one for the statements generated by GRDB. Those are separated so that GRDB has no opportunity to inadvertently modify the arguments of user statements.
|
2017-05-04 18:05:36 +02:00 |
|
Andrey Fidrya
|
6cf59838a6
|
Enable logging when using SPM
|
2017-04-22 20:04:09 +03:00 |
|
Gwendal Roué
|
595408b351
|
Rename logErrorFunction into logError
|
2017-04-22 17:57:33 +02:00 |
|
Gwendal Roué
|
27314d1af3
|
No Database.logErrorFunction for SPM
|
2017-04-22 16:35:12 +02:00 |
|
Gwendal Roué
|
4f14fb0ccd
|
Support for SQLITE_CONFIG_LOG via Database.logErrorFunction
|
2017-04-22 15:11:01 +02:00 |
|
Gwendal Roué
|
dae4ae1c6b
|
Reduce internal coupling
|
2017-04-22 11:12:43 +02:00 |
|
Gwendal Roué
|
c8023adff1
|
Cleanup
|
2017-04-20 14:49:08 +02:00 |
|
Gwendal Roué
|
c34ac0f17b
|
Cleanup
|
2017-04-20 14:37:06 +02:00 |
|
Gwendal Roué
|
3134809c22
|
minor
|
2017-04-13 13:51:46 +02:00 |
|
Gwendal Roué
|
b06f76512d
|
Merge pull request #202 from zmeyc/pr_spm1
SPM support
|
2017-04-11 13:37:23 +02:00 |
|
Gwendal Roué
|
63b3b4225a
|
Rename package to GRDB, and rename SQLite module to CSQLite
|
2017-04-11 13:22:26 +02:00 |
|
Gwendal Roué
|
5b7ad40163
|
[whitespace]
|
2017-04-11 11:05:49 +02:00 |
|
Andrey Fidrya
|
1751fb38e5
|
SPM support
|
2017-04-08 21:32:58 +03:00 |
|
Gwendal Roué
|
17a49b5d8c
|
New public property: DatabaseWriter.availableDatabaseConnection. This new API opens the door to reentrant uses of the database, a much needed tool for RxGRDB.
|
2017-04-06 11:02:49 +02:00 |
|
Gwendal Roué
|
6c6bbf6294
|
Fix failing test for SELECT COUNT(*) FROM table observation
|
2017-04-06 10:35:41 +02:00 |
|
Gwendal Roué
|
04654a5c85
|
Functional GRDBDemoWatchOS
|
2017-04-03 13:37:36 +02:00 |
|
Gwendal Roué
|
26aeb7dcbd
|
New public function: TableMapping.primaryKeyRowComparator. This new API exposes record comparison abilities that were reserved to FetchedRecordsController, and open a better support for GRDB reactive extensions.
|
2017-04-02 17:27:25 +02:00 |
|
Gwendal Roué
|
7bc3582525
|
SelectStatement.SelectionInfo.description
|
2017-04-02 14:18:48 +02:00 |
|
Gwendal Roué
|
311ad6b940
|
New public APIs: SelectStatement.selectionInfo, DatabaseEventKind.impacts(_:). Those new APIs expose database observation abilities that were reserved to FetchedRecordsController, and open a better support for GRDB reactive extensions.
|
2017-04-01 16:01:55 +02:00 |
|
Gwendal Roué
|
8d0feea2c2
|
Cocoapods support
|
2017-03-26 16:28:44 +02:00 |
|
Gwendal Roué
|
25eca4146c
|
Cocoapods support
|
2017-03-26 16:15:24 +02:00 |
|
Gwendal Roué
|
61938601fd
|
SDK-relative sqlite3.h
|
2017-03-26 16:04:41 +02:00 |
|
Gwendal Roué
|
61d114f297
|
Remove inaccurate documentation for int64EqualDouble(_:_:): Swift standard library does not aim at providing this function.
|
2017-03-26 15:38:37 +02:00 |
|
Gwendal Roué
|
eddebfbba5
|
Prefer write { $0... } over write { db in db... } for one liners
|
2017-03-26 15:38:03 +02:00 |
|
Gwendal Roué
|
b1d93112da
|
Embed a copy of sqlite3.h in order to work around my inability at importing <sqlite3.h> from all targeted SDKs (addresses #166, #170)
|
2017-03-26 15:37:31 +02:00 |
|
Gwendal Roué
|
e2e2c58d9f
|
Add availability checks for FTS3Pattern(matchingAnyTokenIn:), FTS3Pattern(matchingAllTokensIn:), FTS3Pattern(matchingPhrase:)
|
2017-03-26 14:51:11 +02:00 |
|
Gwendal Roué
|
7a90b9ce23
|
Add availability checks for FTS3 unicode61 tokenizer, FTS4 unindexed columns, and partial indexes.
|
2017-03-26 14:41:15 +02:00 |
|
Gwendal Roué
|
b815ad7a8c
|
Apply SQLCipher advice from https://discuss.zetetic.net/t/important-advisory-sqlcipher-with-xcode-8-and-new-sdks/1688
|
2017-03-26 13:53:39 +02:00 |
|
Gwendal Roué
|
5302364139
|
[format]
|
2017-03-26 13:33:39 +02:00 |
|
Gwendal Roué
|
78b7fc6169
|
Workaround PRAGMA table_info bug: check against SQLite version instead of build options
|
2017-03-26 13:32:01 +02:00 |
|
Gwendal Roué
|
5c7712bf6c
|
PRAGMA query_only was added in SQLite 3.8.0 (iOS 8.2+ and OS X 10.10+)
|
2017-03-26 13:17:25 +02:00 |
|
Gwendal Roué
|
e64b766599
|
Expose withoutRowID table creation option for custom SQLite builds and SQLCipher.
|
2017-03-26 12:48:21 +02:00 |
|
Gwendal Roué
|
f2bb8bb8af
|
Remove DatabaseValue.value()
|
2017-03-24 20:05:02 +01:00 |
|
Gwendal Roué
|
ba615c15cb
|
Documentation, and remove DatabaseQueue.writeInTransaction
|
2017-03-24 18:39:14 +01:00 |
|
Gwendal Roué
|
88f206e7f5
|
New DatabaseReader.read() guarantee: database modifications are prevented
|
2017-03-24 09:18:24 +01:00 |
|
Gwendal Roué
|
5454e43bc4
|
Use Int(exactly:) and Int32(exactly:) initializers
|
2017-03-18 17:00:06 +01:00 |
|
Gwendal Roué
|
14c53c5e3e
|
Have DatabasePool implementation better expose the write method and its readerPool as its fundamentals.
|
2017-03-17 09:06:13 +01:00 |
|
Gwendal Roué
|
b25648eea1
|
Have DatabaseQueue implementation better expose inDatabase as its fundamental method.
|
2017-03-17 09:05:42 +01:00 |
|
Gwendal Roué
|
7a10486492
|
DatabaseError conversion to NSError preserves extended result code
|
2017-03-03 08:14:36 +01:00 |
|
Gwendal Roué
|
842831d729
|
Merge branch 'master' into RequestFetchCount
|
2017-03-02 13:01:13 +01:00 |
|
Gwendal Roué
|
2729892676
|
Merge branch 'master' into Issue171
|
2017-03-02 12:58:42 +01:00 |
|
Gwendal Roué
|
50318354a6
|
Merge branch 'master' into RequestFetchCount
|
2017-03-02 12:56:57 +01:00 |
|
Gwendal Roué
|
deebf289de
|
Rename DatabaseMigrator.registerMigrationWithDisabledForeignKeyChecks to registerMigrationWithDeferredForeignKeyCheck
|
2017-03-02 08:29:45 +01:00 |
|
Gwendal Roué
|
1b44683cfe
|
#171: cleanup
|
2017-03-02 08:21:29 +01:00 |
|
Gwendal Roué
|
a5cbf08a76
|
Documentation
|
2017-03-02 08:01:43 +01:00 |
|
Gwendal Roué
|
023fa8afc9
|
#171: Missing upgrades to the new ResultCode APIs
|
2017-03-02 07:57:02 +01:00 |
|
Gwendal Roué
|
a721748de1
|
#171: fix-it for DatabaseError.code
|
2017-03-02 07:56:48 +01:00 |
|
Gwendal Roué
|
fe05ac9753
|
#171: Missing upgrades to the new ResultCode APIs
|
2017-03-01 14:21:14 +01:00 |
|
Gwendal Roué
|
b873162a6f
|
#171: Preserve some extended result code that were lost
|
2017-03-01 14:19:48 +01:00 |
|