Gwendal Roué
7ce6a8a094
Rename QueryInterfaceRequest to Request
2020-04-04 20:12:03 +02:00
Gwendal Roué
56f332122d
The observed region is always recorded
2020-03-24 22:59:07 +01:00
Gwendal Roué
dab8e28f6d
Merge branch 'master' into GRDB5
...
# Conflicts:
# GRDB/Migration/DatabaseMigrator.swift
# GRDB/QueryInterface/Request/QueryInterfaceRequest.swift
# README.md
2020-03-21 14:35:57 +01:00
Gwendal Roué
a0faf6aa68
Support for nil assignment
2020-03-18 19:34:43 +01:00
Gwendal Roué
19061934ce
SE-0242: Synthesize default values for the memberwise initializer
...
...and more initializers cleanup
2020-03-09 08:49:06 +01:00
Gwendal Roué
9aa67f9db9
SE-0255: Implicit returns from single-expression functions
2020-03-08 23:12:46 +01:00
Gwendal Roué
8718d525d4
SE-0253: Callable values of user-defined nominal types
2020-03-08 20:36:49 +01:00
Gwendal Roué
7865b0a2ee
SE-0249: Key Path Expressions as Functions
2020-03-08 19:58:51 +01:00
Gwendal Roué
00b0dc2a04
Remove availability checks for macOS 10.10 (forgotten in #719 )
2020-03-08 19:08:15 +01:00
Gwendal Roué
694adcec64
Remove other deprecated methods
2020-03-08 18:03:11 +01:00
Gwendal Roué
9578f984ec
Remove useless #if compiler/swift checks
2020-03-08 13:42:44 +01:00
Gwendal Roué
eb6f6e57ff
Fix failing test for literal expression function
2020-02-25 22:13:17 +01:00
Gwendal Roué
591384576f
SQLOrderingLiteral (and prevent reversing of requests ordered by literal)
2020-02-14 12:31:54 +01:00
Gwendal Roué
cdda2852d3
Merge branch 'development' into dev/qualifiedSQLLiteral
2020-02-14 11:43:15 +01:00
Gwendal Roué
1f4b374bce
Documentation for #689
2020-02-14 11:40:17 +01:00
Gwendal Roué
b961962f93
Cleanup
2020-01-25 16:29:04 +01:00
Gwendal Roué
3ccfcb61ce
Cleanup SQLLiteral elements
2020-01-25 16:11:17 +01:00
Gwendal Roué
e999ab5ecb
Don't deprecate SQLLiteral.mapSQL, after all
2020-01-25 13:46:00 +01:00
Gwendal Roué
e2545b3427
Test for more complex SQLLiteral generation
2020-01-25 12:15:14 +01:00
gjeck
d14ac3e8d3
Resolve test issues with SQLCipher
...
Note: SQLCipher3 will have the new column rename method exposed, but it
will throw an error at runtime if used.
2020-01-24 09:22:43 -08:00
gjeck
09087bdbf9
Adjust available checks
2020-01-24 08:46:55 -08:00
gjeck
538252a4bf
Allow column rename on custom sqlite target
2020-01-24 08:46:55 -08:00
gjeck
371e8f0dbe
Add support for renaming columns within a table
...
SQLite introduced enhancements to the `ALTER TABLE` command in 3.25.0.
iOS 13.0+, macOS 10.15+, tvOS 13.0+, and watchOS 6.0+ have a SQLite
library bundled higher than 3.25.0.
For more information see https://www.sqlite.org/lang_altertable.html
2020-01-24 08:46:55 -08:00
Gwendal Roué
86e32cdc23
Cleanup SQLGenerationContext
2020-01-24 08:55:55 +01:00
Gwendal Roué
6a0cc838da
Deprecate SQLLiteral.mapSQL and SQLExpression.sqlLiteral
2020-01-24 08:55:55 +01:00
Gwendal Roué
4811bc3c5b
Test SQLLiteral qualification
2020-01-24 08:55:55 +01:00
Gwendal Roué
5e67ca5566
Deprecate SQLExpressionLiteral, hide SQLSelectionLiteral, introduce SQLLiteral.sqlExpression and .sqlSelectable
2020-01-24 08:55:55 +01:00
Gwendal Roué
d7ef314a15
SQLLiteral is now a promise that needs an SQLGenerationContext
2020-01-24 08:55:55 +01:00
Gwendal Roué
349e34b1c1
Internal API experiment: KeyPathRefining
2020-01-21 19:37:19 +01:00
Gwendal Roué
4bfab90750
Restore and deprecate SQLLogicalBinaryOperator
2020-01-16 18:50:48 +01:00
Gwendal Roué
01b47a833a
Introduce the || string concatenation operator
2020-01-16 08:38:17 +01:00
Gwendal Roué
a398c6dc99
Flattten stricly associative operators
2020-01-16 08:17:11 +01:00
Gwendal Roué
32a40b18fd
Introduce associative binary operators
2020-01-16 08:01:48 +01:00
Gwendal Roué
0b07a6a696
Cleanup
2020-01-11 20:43:37 +01:00
Gwendal Roué
ebdfa9e52a
Fix failiing tests for children relations
2020-01-11 18:36:36 +01:00
Gwendal Roué
5b841cf4cb
Cleanup
2020-01-09 08:24:00 +01:00
Gwendal Roué
ffd1222990
Fix comment
2020-01-06 09:14:57 +01:00
Gwendal Roué
07266d0b31
Remove useless captures
2020-01-06 09:12:55 +01:00
Gwendal Roué
eb8ec327a8
Cleanup
2020-01-06 09:09:27 +01:00
Gwendal Roué
fc50302e14
Remove unwise TODO
2020-01-06 08:14:46 +01:00
Gwendal Roué
4896741706
Remove code smell
2020-01-06 08:13:32 +01:00
Gwendal Roué
cd8fbbe8f2
Add a test for foreign column annotation
2020-01-05 13:45:23 +01:00
Gwendal Roué
14c3c7865e
Move association initialization where they belong
2020-01-03 08:27:15 +01:00
Gwendal Roué
9dd5fd198b
Fix documentation bug - #672
2020-01-03 08:09:54 +01:00
Gwendal Roué
2595729c8c
Documentation
2020-01-03 08:04:22 +01:00
Gwendal Roué
944f4309a8
Cleanup
2019-12-29 19:06:29 +01:00
Gwendal Roué
b302051f87
Cleanup
2019-12-29 18:46:06 +01:00
Gwendal Roué
71d97b04a5
Move code
2019-12-29 18:26:27 +01:00
Gwendal Roué
fa5198354a
Fix failing tests for deleteAll and updateAll for grouped and joined queries
2019-12-29 17:50:53 +01:00
Gwendal Roué
baa9695678
SQLQueryGenerator.grouping(_:)
2019-12-29 17:18:17 +01:00