Gwendal Roué
266efa041c
Expose FetchableRecordDecoder
2023-04-29 17:15:54 +02: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é
b3763ad08e
RecordCursor: same documation as all cursors
2023-02-26 10:26:03 +01:00
Gwendal Roué
4a4ff9950c
FetchableRecord.find() methods
2022-11-30 19:36:25 +01:00
Gwendal Roué
13c804d1cc
DocC
2022-11-06 16:02:36 +01:00
Gwendal Roué
811d287bd9
Row.withUnsafeData
2022-11-06 16:02:36 +01:00
Gwendal Roué
1818534513
DocC
2022-11-06 16:02:36 +01:00
Gwendal Roué
9531a7f8fc
More specialization
2022-09-17 15:49:28 +02:00
Gwendal Roué
0ed9367b26
BREAKING: DatabaseCursor no longer exposes its prepared statement
2022-08-21 21:22:34 +02:00
Gwendal Roué
5243db7fbc
Spelling
2022-08-21 21:22:34 +02:00
Gwendal Roué
895964de16
BREAKING: Throwing FetchableRecord.init(row:)
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é
23cbf13af0
Swift 5.7 required: Availability checks
2022-08-21 19:21:57 +02:00
Gwendal Roué
f0cfde682e
Update outdated documentation
2022-05-18 08:12:00 +02:00
Gwendal Roué
09922c34ff
Code formatting
2022-01-23 12:24:34 +01:00
BB9z
6d3f309cad
Fix typos
2022-01-19 00:10:42 +08:00
Gwendal Roué
b53b43b1fc
Cleanup
2022-01-16 14:50:55 +01:00
Gwendal Roué
8e6827070f
Improve documentation
2022-01-14 13:47:54 +01:00
Gwendal Roué
d105b35750
More #1124-related documentation
2022-01-14 13:29:34 +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é
1bb2029e74
Fix #1124 by dealing with authorizers
2022-01-08 13:51:41 +01:00
Gwendal Roué
87e9a0d0e0
Add license
2021-08-30 19:21:37 +02:00
Gwendal Roué
e6e2536f6b
Reverse DatabaseColumnDecodingStrategy
...
It does not convert coding keys to columns, but columns to CodingKeys, exactly as JSONDecoder.KeyDecodingStrategy
2021-08-29 13:52:36 +02:00
Gwendal Roué
42045ad8fb
Merge remote-tracking branch 'origin/development' into pr1029
2021-08-29 08:37:13 +02:00
Gwendal Roué
33e2c379db
Make it clear that strategies apply to columns only
...
...and not to row scopes or prefetched records
2021-08-28 16:24:53 +02:00
Gwendal Roué
06763e47d2
Share convertToSnakeCase()
2021-08-28 16:05:41 +02:00
Gwendal Roué
5f23d97903
Add the custom strategies
2021-08-28 15:50:34 +02:00
Gwendal Roué
03a8e03a92
Documentation
...
Doc of cases is copied from JSONDecoder.KeyDecodingStrategy and JSONEncoder.KeyEncodingStrategy
2021-08-28 15:48:31 +02:00
Gwendal Roué
987b8a48e5
Key coding strategies transform keys into columns
...
They are not String transformers
2021-08-28 15:41:12 +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
Scott Berrevoets
4ab7f1cf3e
Add support for encoding as well
2021-08-12 20:12:10 -07:00
Scott Berrevoets
cdc7805471
Add option for converting snake case
...
This adds an option to convert column names from snake case to camel
case, similar to how JSONDecoder works. In fact, the implementation here
is largely based on JSONDecoder's implementation.
2021-08-12 20:11:54 -07:00
Gwendal Roué
bf601e6810
Merge SelectStatement and UpdateStatement
...
Addresses #1015
2021-07-29 20:20:15 +02:00
Chris Ballinger
43de1c24a7
Add userInfo to databaseJSONDecoder and databaseJSONEncoder
2021-04-08 13:11:59 -07: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é
07092169bf
Documentation
2020-07-12 14:17:58 +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é
002287ca28
Close FetchRequest, make it visitable
2020-07-11 17:30:11 +02:00
Gwendal Roué
9ee3fd38b5
Remove mentions of unsupported iOS versions
2020-05-31 13:54:02 +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é
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
bellebethcooper
e1ee2afba1
Minor typo fix
2019-06-26 17:24:26 +10:00