Gwendal Roué
43ced9b2f0
Trivial Sendable conformances
...
Either added, either made explicitly unavailable.
2024-03-17 18:25:04 +01:00
Gwendal Roué
f6e695a21d
More explicit any/some
2023-04-08 12:01:59 +02:00
Gwendal Roué
a1b76f9e06
Fix typo
2023-03-20 09:21:50 +01:00
Gwendal Roué
f7559d4c76
Moved row adapters doc into DocC
2023-03-12 17:25:16 +01:00
Gwendal Roué
2e5cf546c6
DocC: RowAdapter
2022-11-06 16:45:13 +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é
82b4d90a82
Xcode 14 RC doesn't ship with the Swift 5.6 stdlib
...
https://forums.swift.org/t/xcode-14-rc-cannot-specialize-protocol-type/60171
2022-09-09 08:16:55 +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é
dd55175978
SE-0345: if let x { }
...
https://github.com/apple/swift-evolution/blob/main/proposals/0345-if-let-shorthand.md
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
Ethan Wong
4ea04ec978
Update RowAdapter doc to cover all concrete adapters.
2022-03-18 00:59:16 +08:00
Gwendal Roué
bf601e6810
Merge SelectStatement and UpdateStatement
...
Addresses #1015
2021-07-29 20:20:15 +02: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é
70b70a069a
Fix typo
2020-07-19 09:54:39 +02:00
Gwendal Roué
4bf21cc5ce
Introduce RenameColumAdapter
2020-07-19 09:33:13 +02:00
Gwendal Roué
ebae30342b
Defining custom RowAdapter types is no longer supported.
2020-07-12 14:22:53 +02:00
Gwendal Roué
27ffb2a418
Rename index(ofColumn:) to index(forColumn:)
2020-05-01 15:01:01 +02:00
Gwendal Roué
9aa67f9db9
SE-0255: Implicit returns from single-expression functions
2020-03-08 23:12:46 +01:00
Gwendal Roué
df6bb8761c
Swiftlint + whitespace
2019-07-01 08:57:53 +02:00
Gwendal Roué
a3c86e343b
Less @inlinable methods
2019-05-23 13:27:23 +02:00
Gwendal Roué
ad1bdd7f01
Rename Row.prefetches to Row.prefetchedRows
2019-05-17 14:08:33 +02:00
Gwendal Roué
9fc5cda92b
Rename PrefetchesTreeView to PrefetchesView
2019-05-06 08:19:12 +02:00
Gwendal Roué
a45065c340
Fix failing tests for consumption of prefetched rows
2019-05-05 19:31:43 +02:00
Gwendal Roué
bed9164bcd
Allow specialization of fetching methods
2019-02-23 18:34:42 +01:00
Gwendal Roué
db67d3840b
Principle of least astonishment: rrename argument label rawSQL to sql
2019-02-17 13:28:41 +01:00
Gwendal Roué
c546c578ce
fetchCursor/All/One(_:rawSQL:arguments:adapter:)
2019-02-17 13:28:40 +01:00
Gwendal Roué
566f42e8d0
Remove useless conversion contexts
2018-08-26 14:07:36 +02:00
Gwendal Roué
d9dd293d7f
A really difficult cleanup process
2018-08-14 08:33:06 +02:00
Gwendal Roué
e49e2db571
Optimize decoding of StatementColumnConvertible values in Decodable records
...
This is the real final touch for #384 , after all
2018-08-13 21:17:52 +02:00
Gwendal Roué
ef10e2e8ed
General cleanup:
...
- rename ValueConversionDebuggingInfo to ValueConversionContext
- allow missing value conversion context (when decoding a raw DatabaseValue)
- rename ColumnCursor to FastDatabaseValueCursor
- rename NullableColumnCursor to FastNullableDatabaseValueCursor
2018-08-11 19:45:58 +02:00
Gwendal Roué
897fd32725
Cleanup
2018-08-11 12:58:04 +02:00
Gwendal Roué
7d4ebce70a
TODO conversion error message for adapted rows
2018-08-10 04:52:59 +02:00
Gwendal Roué
bcc45dc076
no more throwing conversion methods, and refactor ValueConversionDebuggingInfo
2018-08-09 08:51:50 +02:00
Gwendal Roué
78a6f7251b
Spot a few Demeter law violations
2018-08-06 13:40:37 +02:00
Gwendal Roué
a8f6ed6d61
improve value conversion diagnostics more
2018-08-06 13:40:05 +02:00
Gwendal Roué
1c811a61ca
improve value conversion diagnostics
2018-08-06 13:40:05 +02:00
Gwendal Roué
9f78a758bd
RowAdapter.addingScopes returns self if the scopes dictionary is empty
2018-04-30 14:04:07 +02:00
Gwendal Roué
0362ae76ea
Rename Row.Scopes to Row.ScopesView. Move breadth-first lookup to a new view, row.scopesTree, of type Row.ScopesTreeView
2018-04-19 20:29:11 +02:00
Gwendal Roué
4e659c550e
Rename RowScopes to Row.Scopes. Harmonize row derivation.
2018-04-19 19:18:02 +02:00
Gwendal Roué
9cb1bac2fc
Update documentation for scoped rows
2018-04-19 14:46:23 +02:00
Gwendal Roué
57932235ba
Introduce RowScopes collection, a view of a row's scopes
2018-04-19 09:07:16 +02:00
Gwendal Roué
9a6daedd6d
Cleanup
2018-04-18 07:31:11 +02:00
Gwendal Roué
26912e746b
Update documentation for new Row description format
2018-04-11 15:49:16 +02:00
Gwendal Roué
fa68b62be1
Improve Row.description & Row.debugDescription
2018-04-11 13:39:44 +02:00
Gwendal Roué
79c7dd03a5
[Whitespace]
2018-04-11 13:10:15 +02:00
Gwendal Roué
5112cb24f5
Expose EmptyRowAdapter, and ScopeAdapter(base:scopes:)
2018-02-22 12:38:03 +01:00
Gwendal Roué
c6bbccc02e
Have AdaptedRow go straight to SQLite when possible (avoid DatabaseValue initializer)
2018-02-22 12:23:19 +01:00