Gwendal Roué
5d9e853f24
Fix typos in code samples
2026-11-01 20:45:05 +01:00
Gwendal Roué
7a216d7d34
Fix typos in public documentation
2026-11-01 20:45:05 +01:00
Micah Moore
c24bf5d118
SQLCipher adjustments to support forks which want to enable SQLCipher using traits/swiftSettings
...
- Adds Database+SQLCipher extension with SQLCipher operations, enabled by #if SQLITE_HAS_CODEC
- Adjusts Import Statements to import SQLCipher when SQLCipher trait is enabled (or SQLCipher swiftSetting is set)
2026-01-14 11:32:48 -05:00
Gwendal Roué
8cba324d6e
Refactor the SQLite import
...
We can not use `#if Trait` because Xcode does not enable those compiler flags. Always count on Apple for delivering the best quality software.
So now we import the default SPM SQLite last, after all other cases have been excluded.
The GRDB framework (GRDB.xcodeproj and GRDB via CocoaPods) is distinct from the default SPM trait, so we detect it with GRDBFRAMEWORK.
2025-10-04 17:56:06 +02:00
Gwendal Roué
f635aea2f2
Update more documentation with the closure syntax
2025-05-10 16:38:02 +02:00
Gwendal Roué
9e1ff42249
[BREAKING] Rename CSQLite to GRDBSQLite
...
Fix #1528
2024-08-24 18:15:57 +02:00
Gwendal Roué
9cd1d849cc
[BREAKING] Stop exporting SQLite
2024-08-24 17:25:35 +02:00
Gwendal Roué
6157a40dad
Fix DocC warnings
2024-08-24 16:34:35 +02:00
Gwendal Roué
43ced9b2f0
Trivial Sendable conformances
...
Either added, either made explicitly unavailable.
2024-03-17 18:25:04 +01:00
Gwendal Roué
c3664e2b16
Fix Xcode 15 DocC warnings
2023-06-06 08:15:02 +02:00
Gwendal Roué
0ffd25bc74
Fix documentation typo
2023-03-12 16:33:10 +01:00
Gwendal Roué
3382280cc3
Statement.execute(arguments:) uses temporary bindings
...
Inspired by @helje5 in https://hachyderm.io/@helge@mastodon.social/109978514220902036
Thank you!!
Now, onto cursors!
2023-03-11 12:10:25 +01:00
Gwendal Roué
ac214e6760
SE-0345: if let shorthand for shadowing an existing optional variable
2023-01-30 08:00:47 +01:00
Gwendal Roué
13c804d1cc
DocC
2022-11-06 16:02:36 +01:00
Gwendal Roué
1818534513
DocC
2022-11-06 16:02:36 +01:00
Gwendal Roué
0ed9367b26
BREAKING: DatabaseCursor no longer exposes its prepared statement
2022-08-21 21:22:34 +02:00
Gwendal Roué
e0786537db
BREAKING: replace Int32 with CInt everywhere it is possible
2022-08-21 21:22:34 +02:00
Gwendal Roué
c26ed6c280
NEW: throw decoding errors
2022-08-21 21:22:34 +02:00
Gwendal Roué
a9fcf1b9c1
SE-0335, SE-0341, SE-0346, SE-0352, SE-0358: some, any, primary associated types
2022-08-21 21:22:34 +02:00
Gwendal Roué
58293befc9
BREAKING: Optional is a database value like others
2022-08-21 21:22:34 +02:00
Gwendal Roué
b53b43b1fc
Cleanup
2022-01-16 14:50:55 +01:00
Gwendal Roué
ed6c5438b9
Move DatabaseCursor state to Statement
2022-01-14 13:13:34 +01:00
Gwendal Roué
bd67153095
Fix #1124 for more cursors
2022-01-13 14:28:04 +01:00
Gwendal Roué
b06dc5dc77
Do not inline RowDecodingError.valueMismatch creation
2021-08-28 14:54:51 +02:00
Gwendal Roué
151a457251
Inline StatementColumnConvertible decoding
2021-08-28 14:53:54 +02:00
Gwendal Roué
e2c9734df1
Specialize StatementColumnConvertible cursors
2021-08-21 15:48:07 +02:00
Gwendal Roué
18e9b1b9aa
Specialize StatementColumnConvertible decoding
2021-08-21 14:53:11 +02:00
Gwendal Roué
665770c50c
Remove all ABI annotations
2021-08-21 13:14:54 +02:00
Gwendal Roué
2858b803d0
Remove useless <Void> qualifiers
...
SQLRequest and CommonTableExpression are <Row> by default
2021-08-21 12:25:04 +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é
7f48e66fdc
Reduce inlined code
2021-02-26 18:50:47 +01:00
Gwendal Roué
b7c57dc7f2
Attempt at clarifying the (complex) decoding api
...
The difficulty is due to fast decoding of StatementColumnConvertible, and non-copied Data, from raw SQLite statement.
We want it to be inlinable, and possible in nested rows.
Added missing tests for nested rows
2021-02-25 20:45:12 +01:00
Gwendal Roué
cb2405a8b9
RowDecodingError
2021-02-21 14:21:04 +01:00
Gwendal Roué
836efb120f
Xcode 12.3 formatting
2020-12-23 12:13:05 +01:00
Gwendal Roué
7f229468d2
Documentation
2020-07-12 15:12:04 +02:00
Gwendal Roué
94d1134ec2
fetchSet
2020-07-12 10:49:47 +02:00
Gwendal Roué
df92e350c0
Documentation
2020-07-11 20:29:47 +02:00
Gwendal Roué
1ea5d1713a
Cleanup
2020-04-12 10:04:09 +02:00
Gwendal Roué
0372c1dd63
Complete #747 : export the underlying SQLite library
2020-04-12 07:27:50 +02:00
Gwendal Roué
27120643b9
SE-0255: Implicit returns from single-expression functions
2020-04-09 17:16:23 +02:00
Gwendal Roué
e68bd077ee
Remove all observationForCount/All/First methods
2020-03-25 21:44:10 +01:00
Gwendal Roué
3ee231afd3
Cleanup _OptionalProtocol
2020-03-21 14:36:48 +01:00
Gwendal Roué
9aa67f9db9
SE-0255: Implicit returns from single-expression functions
2020-03-08 23:12:46 +01:00
Gwendal Roué
f3e9c29f82
Monitor aborted transactions
2019-11-30 19:51:55 +01:00
Gwendal Roué
a5c8f23ba4
Support for variable observed region of ValueObservation based on actual selection
2019-08-03 16:32:33 +02:00
Gwendal Roué
df6bb8761c
Swiftlint + whitespace
2019-07-01 08:57:53 +02:00
Gwendal Roué
e40e37bd04
FetchRequest.makePreparedRequest
2019-06-15 04:24:29 +02:00
Gwendal Roué
872f394339
Move eager loading of hasMany associations to FetchRequest
2019-06-01 16:08:05 +02:00
Gwendal Roué
a3c86e343b
Less @inlinable methods
2019-05-23 13:27:23 +02:00