Gwendal Roué
620eb6f21c
Default DatabaseValueConvertible+Codable implementation uses the JSON format
2021-07-04 17:34:31 +02:00
Gwendal Roué
bdfd5ce277
Table: batch delete & update
...
Also, MutablePersistableRecord is no longer necessary for such operations. TableRecord is enough.
2021-06-21 18:08:27 +02:00
Gwendal Roué
9def48f4f6
Tests for Table
2021-06-19 17:31:40 +02:00
Gwendal Roué
d7971d76e7
Introduce Table
2021-06-19 14:30:04 +02:00
Gwendal Roué
12809f5891
Fix duplicate file warning
2021-04-17 13:22:27 +02:00
Gwendal Roué
ee2d6d8074
CaseInsensitiveIdentifier should help
2021-04-10 16:27:45 +02:00
Gwendal Roué
6958a10a08
Refactor the SwiftUI demo application
2021-04-05 15:28:45 +02:00
Gwendal Roué
55c0abef8b
Tests for id filtering of Identifiable types
2021-03-27 19:46:03 +01:00
Gwendal Roué
c4f9ddd688
Simplify handling of collated expressions
2021-03-27 16:34:37 +01:00
Gwendal Roué
051fdb37b6
Rename SQLLiteral to SQL
2021-03-21 13:33:49 +01:00
Gwendal Roué
d9083a7bf5
Support for Foundation.Decimal
2021-03-20 20:11:26 +01:00
Gwendal Roué
f49fab0cff
Merge SQLQuery into SQLRelation
2021-03-07 14:37:53 +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é
7dd36ecc0f
Tests for SQLRelation children
2021-02-19 07:36:33 +01:00
Gwendal Roué
920417beb3
Replace protocols with enums
2021-02-14 18:28:15 +01:00
Gwendal Roué
ae6f5dd0f5
Extract ForeignKey
2021-02-09 18:14:35 +01:00
Gwendal Roué
7914805524
Remove TableRecord requirements for QueryInterfaceRequest aggregates
2021-02-09 18:14:35 +01:00
Gwendal Roué
6abbf82a89
So long, visitor pattern!
2020-12-23 09:02:17 +01:00
Gwendal Roué
c844438dd6
Xcode 12.2 touch
2020-12-20 08:51:42 +01:00
Gwendal Roué
b715206502
Row values
2020-12-12 12:40:49 +01:00
Gwendal Roué
b7b89c5fa9
CTE associations
2020-11-30 21:51:17 +01:00
Gwendal Roué
e1d3c1d7dc
Give CommonTableExpression a key, for joins
2020-11-29 18:23:41 +01:00
Gwendal Roué
00a7eb53e8
First successful SQL generation with CTE
2020-11-29 16:51:52 +01:00
Gwendal Roué
c1079ac1a9
Remove xcconfig-based settings from target
2020-07-14 13:55:37 +02:00
Gwendal Roué
f9bd457cbd
Cleanup
2020-07-11 18:33:43 +02:00
Gwendal Roué
002287ca28
Close FetchRequest, make it visitable
2020-07-11 17:30:11 +02:00
Gwendal Roué
90f2642ec6
Make good use of the visitor pattern
2020-07-05 15:07:52 +02:00
Gwendal Roué
0d514b56f6
Remove more references to FetchedRecordsController
2020-06-29 18:45:58 +02:00
Gwendal Roué
138cc752a6
Remove FetchedRecordsController
2020-06-29 18:29:29 +02:00
Gwendal Roué
f27a297e95
Run GRDBCombine tests
2020-06-25 20:08:11 +02:00
Gwendal Roué
a0ce362197
Combine publishers
2020-06-25 19:25:29 +02:00
Gwendal Roué
8be9acf9a6
Fix Xcode 12 project warnings
2020-06-25 08:27:05 +02:00
Gwendal Roué
7e7c232fc0
Tests for ValueObservation.print()
2020-06-20 22:09:28 +02:00
Gwendal Roué
dd76cdffec
ValueObservation.handleEvents
2020-06-20 19:57:51 +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é
81213f2649
Tests for Database.trace(options:_:)
2020-05-31 19:08:42 +02:00
Gwendal Roué
17e745f52b
SQLRequestProtocol, close FetchRequest
2020-05-10 15:34:37 +02:00
Gwendal Roué
db7fb96142
Tests for persistent WAL mode
...
Tests for SQLITE_FCNTL_PERSIST_WAL: https://www.sqlite.org/c3ref/c_fcntl_begin_atomic_write.html#sqlitefcntlpersistwal
2020-05-06 08:55:27 +02:00
Gwendal Roué
0372c1dd63
Complete #747 : export the underlying SQLite library
2020-04-12 07:27:50 +02:00
Gwendal Roué
37aa7feee9
Rename KeyPathRefining to Refinable
2020-04-09 18:50:36 +02:00
Gwendal Roué
d988be49a6
Revert #748
2020-04-09 13:42:37 +02:00
Gwendal Roué
e2790c863f
Remove ValueObservation combine operator
2020-04-08 18:16:05 +02:00
Gwendal Roué
7ce6a8a094
Rename QueryInterfaceRequest to Request
2020-04-04 20:12:03 +02:00
Gwendal Roué
1bffc4f628
ValueObservation is cancellable
2020-03-29 16:06:24 +02:00
Gwendal Roué
fdb2f63e60
Add missing file to iOS/tvOS/watchOS compilation
2020-03-28 14:26:08 +01:00
Gwendal Roué
c83d390e60
More test rationalization
2020-03-28 14:07:36 +01:00
Gwendal Roué
a6ac69eded
Move view optimization test
2020-03-28 13:54:18 +01:00
Gwendal Roué
1914ace5f9
Test as much as possible value observations
2020-03-28 13:43:18 +01:00
Gwendal Roué
4309eaba64
Scheduling of fresh values is no longer an attribute of ValueObservation
2020-03-27 19:49:11 +01:00