Gwendal Roué
56f6984f9d
Introduce Database.checkpoint(_🔛 )
2020-06-07 17:07:31 +02:00
Gwendal Roué
5f88a400d5
DatabasePool.checkpoint(_:) is unavailable
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é
668c1d632e
f67f9ebd4b did spot an oddity
...
This is a temp fix
2020-06-07 17:07:02 +02:00
Gwendal Roué
f67f9ebd4b
Add a sanity transaction assertion
2020-06-07 15:57:50 +02:00
Gwendal Roué
d04dda1888
Default SQLExpressible conformance for RawRepresentable
2020-06-05 12:27:42 +02:00
Gwendal Roué
d2b1853b7b
Database.debugDescription
2020-06-04 18:15:48 +02:00
Gwendal Roué
04df4ba157
Documentation
2020-06-03 19:57:43 +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é
a5de2b9288
Breaking: AnyFetchRequest.asRequest(of:)
2020-05-30 10:30:07 +02:00
Gwendal Roué
4c2042c3ce
Cleanup 2bb53026ef
2020-05-25 13:04:10 +02:00
Gwendal Roué
c0217d56ca
Remove doubt about how SQLRequest uses singleResult
2020-05-10 15:34:38 +02:00
Gwendal Roué
d814ab216d
Documentation
2020-05-10 15:34:38 +02:00
Gwendal Roué
57e5735e9a
Documentation
2020-05-10 15:34:38 +02:00
Gwendal Roué
f799d5f30c
Documentation
2020-05-10 15:34:38 +02:00
Gwendal Roué
e94be4a06e
Upgrade path for FetchRequest
2020-05-10 15:34:38 +02:00
Gwendal Roué
b16a0da88c
Documentation
2020-05-10 15:34:37 +02:00
Gwendal Roué
a318d4cc82
Test upgrade path from GRDB4 to GRDB5
2020-05-10 15:34:37 +02:00
Gwendal Roué
4f500de04b
Expose SQLLiteral.sql(_:)
...
This is needed for custom FetchRequest types
2020-05-10 15:34:37 +02:00
Gwendal Roué
a77b195c7c
Reopen FetchRequest
2020-05-10 15:34:37 +02:00
Gwendal Roué
d2928a9929
requestSQL(_:forSingleResult:) is experimental
2020-05-10 15:34:37 +02:00
Gwendal Roué
476e72cca2
requestSQL(_:forSingleResult:) is experimental
2020-05-10 15:34:37 +02:00
Gwendal Roué
375ed0135c
PreparedRequest is still documented
2020-05-10 15:34:37 +02:00
Gwendal Roué
17e745f52b
SQLRequestProtocol, close FetchRequest
2020-05-10 15:34:37 +02:00
Gwendal Roué
76e0a9f6b6
AnyFetchRequest is now generic on RowDecoder
2020-05-08 16:43:02 +02:00
Gwendal Roué
6a98a46c85
Speed up slow tests
2020-05-01 20:11:02 +02:00
Gwendal Roué
27ffb2a418
Rename index(ofColumn:) to index(forColumn:)
2020-05-01 15:01:01 +02:00
Gwendal Roué
dfcc6f99a5
SQLCollection can be qualified, now
2020-04-30 18:49:20 +02:00
Gwendal Roué
664c1ed281
Documentation
2020-04-30 18:35:05 +02:00
Gwendal Roué
e05b8b2b47
Unify SQLGenerationContext
2020-04-30 17:56:15 +02:00
Gwendal Roué
9006c701b3
Replace the expectsSingleResult hint with an analysis of the query
2020-04-30 14:14:07 +02:00
Gwendal Roué
1d89d184fd
Fix subqueries semantics
2020-04-30 08:19:00 +02:00
Gwendal Roué
be249bc697
SQLRequestExpressible is a sub protocol of SQLSpecificExpressible
2020-04-29 23:40:37 +02:00
Gwendal Roué
4245e8f09e
Cleanup
2020-04-29 22:24:58 +02:00
Gwendal Roué
94fed7965b
Cleanup
2020-04-29 22:16:19 +02:00
Gwendal Roué
a15233eff1
SQLGenerationContext no longer needs to be mutated
2020-04-29 21:59:04 +02:00
Gwendal Roué
e800c71cbc
Refactor SQLLiteral so that subqueries are no longer a special case
2020-04-29 20:20:13 +02:00
Gwendal Roué
3d86f45aa2
SQLRequestExpressible
...
This protocol makes it possible to write request.filter(column == subRequest)
2020-04-29 20:18:00 +02:00
Gwendal Roué
21552d8838
SQLRequest & QueryInterfaceRequest are SQLExpression
2020-04-29 14:24:18 +02:00
Gwendal Roué
c82dbb35ad
SQLLiteral and SQLRequest no longer have sql and arguments properties
2020-04-29 13:52:29 +02:00
Gwendal Roué
84ca69d27c
Value quoting can now require a database connection
2020-04-29 11:03:51 +02:00
Gwendal Roué
6dca9e1068
Cleanup
2020-04-29 09:49:24 +02:00
Gwendal Roué
8cb75dd814
Subqueries wip
2020-04-28 21:03:58 +02:00
Gwendal Roué
399766fe10
Fix #739
2020-04-28 19:19:30 +02:00
Gwendal Roué
6fd3a7b225
Merge branch 'development' into GRDB5
...
# Conflicts:
# CHANGELOG.md
# README.md
2020-04-25 13:21:20 +02:00
Matt Tancock
62c6187ad4
Remove Format's Codable conformance. Use a singleValueContainer
2020-04-20 14:42:02 +01:00