Gwendal Roué
eb6895207e
Remove Swiftlint warnings
2021-07-30 16:14:03 +02:00
Gwendal Roué
bf601e6810
Merge SelectStatement and UpdateStatement
...
Addresses #1015
2021-07-29 20:20:15 +02:00
Zev Eisenberg
8b060e6b09
Add angle brackets to URLs to make them clickable in Xcode's rendered documentation.
2021-07-20 20:53:58 -04:00
Gwendal Roué
374595d89e
Merge pull request #1009 from kaishin/patch-1
...
Remove extra dot at the end of reference URL
2021-07-19 18:49:23 +02:00
Reda Lemeden
1ac364defb
Remove extra dot at the end of reference URL
2021-07-12 02:11:34 +02:00
Gwendal Roué
b5de7a907a
Update link to 0xdead10cc documentation
2021-06-27 15:43:32 +02:00
Gwendal Roué
52b1727bb3
Fix Xcode 13 beta 1 compilation error
2021-06-08 05:54:31 +02:00
Gwendal Roué
e8802fb010
Fix #971
2021-05-01 14:32:01 +02:00
Gwendal Roué
89521a7288
Improve statement binding performance
2021-04-03 14:52:22 +02:00
Gwendal Roué
b13922b76e
Database schema cache distinguishes the main from the temp schema
...
Addresses https://github.com/groue/GRDB.swift/pull/946#issuecomment-805756799
2021-03-27 14:50:25 +01:00
Gwendal Roué
cb2405a8b9
RowDecodingError
2021-02-21 14:21:04 +01:00
Gwendal Roué
267bfb29fe
Merge pull request #892 from eburns-vmware/dev/data_passphrase
...
Provide SQLCipher passphrase as Data
2021-01-09 14:33:46 +01:00
Gwendal Roué
4e551c8c6e
Fix Swiftlint errors
2021-01-09 13:09:44 +01:00
Gwendal Roué
836efb120f
Xcode 12.3 formatting
2020-12-23 12:13:05 +01:00
Ed Burns
2de9b2d9ed
Cleaned up documentation and addressed review comments.
2020-12-22 11:29:26 -06:00
Ed Burns
5546961c8c
Test fixes and cleanup.
2020-12-17 17:10:39 -06:00
Ed Burns
d09571c0ad
Added option to specify passphrase as a Data object, added section to README.
2020-12-17 11:19:05 -06:00
Gwendal Roué
2a7f41c494
Database.close() is idempotent
...
This change addresses https://bugs.swift.org/browse/SR-13746
2020-10-25 10:12:42 +01:00
Gwendal Roué
f84e25f929
Remove dependency on SQLITE_ENABLE_SNAPSHOT
...
Address #845 and #846
2020-10-06 08:30:41 +02:00
Gwendal Roué
18e09ec061
Configuration.prepareDatabase updates
2020-09-06 14:06:25 +02:00
Gwendal Roué
886f75bbea
Configuration.prepareDatabase in now a method
2020-09-06 13:15:51 +02:00
Gwendal Roué
86b9616dd7
DatabasePool readers don't invalidate their database schema cache until schema is actually changed.
2020-07-25 18:20:43 +02:00
Gwendal Roué
df92e350c0
Documentation
2020-07-11 20:29:47 +02:00
Gwendal Roué
a75a7b82ce
Work around an SQLite bug which prevents rollbacking a transaction with sqlite3_commit_hook
2020-07-11 19:47:12 +02:00
Gwendal Roué
90e7449d6a
Documentation
2020-07-11 19:21:33 +02:00
Gwendal Roué
70714768d9
Always use snapshots apis through grdb_xxx shims
2020-06-14 15:38:16 +02:00
Gwendal Roué
eacf48fef3
More snapshot-based optimization of ValueObservation with DatabasePool
...
This time, for the .immediate scheduler.
2020-06-14 06:34:08 +02:00
Gwendal Roué
842846dbc4
Documentation
2020-06-14 05:36:12 +02:00
Gwendal Roué
f1e65fbb2c
Optimization of ValueObservation with DatabasePool thanks to SQLITE_ENABLE_SNAPSHOT
...
The difficulty is that system <sqlite3.h> does not contain the expected declarations, even when SQLite is compiled with SQLITE_ENABLE_SNAPSHOT :-(
Since snapshots are not exposed in any public API, we don't bother dealing with availability checks. We just add the missing declarations, and rely on the linker in order to spot eventual errors.
This commit is likely to break Linux builds, though.
2020-06-13 20:14:40 +02:00
Gwendal Roué
a95b3264de
Fix documentation
2020-06-12 14:20:29 +02:00
Gwendal Roué
8d44ad7256
Database.maximumStatementArgumentCount
2020-06-12 14:19:31 +02:00
Gwendal Roué
3103e6e373
Fix Swiftlint warning
2020-06-07 17:07:31 +02:00
Gwendal Roué
3a42a4bf9f
Rename checkpoint tuple members
2020-06-07 17:07:31 +02:00
Gwendal Roué
56f6984f9d
Introduce Database.checkpoint(_🔛 )
2020-06-07 17:07:31 +02:00
Gwendal Roué
91ed7d762b
Setup busy handler as soon as possible
2020-06-07 17:07:30 +02:00
Gwendal Roué
d2b1853b7b
Database.debugDescription
2020-06-04 18:15:48 +02:00
Gwendal Roué
780ba744f1
Database.description
2020-06-03 19:37:24 +02:00
Gwendal Roué
b47680638d
Trace statements by default
2020-06-01 07:16:48 +02:00
Gwendal Roué
30f619ca2c
Refactor database tracing
...
- Make it possible to log the database label along with the executed SQL
- Make it possible to avoid arguments expansion
- Make it possible to profile statements
2020-05-31 19:08:08 +02:00
Gwendal Roué
9ee3fd38b5
Remove mentions of unsupported iOS versions
2020-05-31 13:54:02 +02:00
Gwendal Roué
289394c7ac
Turn LockedBox and ReadWriteBox into property wrappers.
...
Also fix an old concurrency bug in tests, regarding query recording
2020-05-30 13:52:39 +02:00
Gwendal Roué
6a98a46c85
Speed up slow tests
2020-05-01 20:11:02 +02:00
Gwendal Roué
0372c1dd63
Complete #747 : export the underlying SQLite library
2020-04-12 07:27:50 +02:00
Gwendal Roué
56f332122d
The observed region is always recorded
2020-03-24 22:59:07 +01:00
Gwendal Roué
9aa67f9db9
SE-0255: Implicit returns from single-expression functions
2020-03-08 23:12:46 +01:00
Gwendal Roué
00b0dc2a04
Remove availability checks for macOS 10.10 (forgotten in #719 )
2020-03-08 19:08:15 +01:00
Gwendal Roué
130e510f8c
Remove deprecated passphrase methods
2020-03-08 16:00:19 +01:00
Gwendal Roué
9578f984ec
Remove useless #if compiler/swift checks
2020-03-08 13:42:44 +01:00
Gwendal Roué
ce0df653f4
Expose Database.erase()
2020-02-29 17:19:08 +01:00
Gwendal Roué
fd7783c39d
Fix uses of throwingFirstError(execute:finally:)
2020-01-06 08:12:49 +01:00