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é
7f513cbc1d
SQLLiteral cleanup
2020-01-24 08:55:55 +01:00
Gwendal Roué
812f30fb75
Remove SQLLiteral.generate()
2020-01-24 08:55:55 +01: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é
65c94590eb
Make SQLLiteral able to be qualified with a table alias
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é
a3c43efb85
Fix KeyPathRefining for Xcode 10.0
2020-01-24 07:50:12 +01:00
Gwendal Roué
9dcd0b8f42
Fix KeyPathRefining for compiler(<5.1)
2020-01-24 07:45:20 +01:00
Gwendal Roué
349e34b1c1
Internal API experiment: KeyPathRefining
2020-01-21 19:37:19 +01:00
Gwendal Roué
1cca8a2303
Merge branch 'development' into dev/concat
...
# Conflicts:
# CHANGELOG.md
2020-01-16 20:04:38 +01:00
gjeck
2717b52e97
Add cache for TableRecord.defaultDatabaseTableName
...
Resolves cpu/memory impact from repeated calls by cacheing the name in a
private global NSCache.
2020-01-16 09:59:18 -08: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é
4c145b11a5
OrderedDictionary.filter(_:)
2020-01-11 18:12:30 +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é
f79b60083e
Remove TODO and document why
2020-01-06 08:36:53 +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é
fd7783c39d
Fix uses of throwingFirstError(execute:finally:)
2020-01-06 08:12:49 +01:00
Gwendal Roué
cd8fbbe8f2
Add a test for foreign column annotation
2020-01-05 13:45:23 +01:00
Gwendal Roué
e5726f3993
throwingFirstError(execute:finally:)
2020-01-05 13:30:12 +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
Gwendal Roué
a42a5cc2ca
SQLQualifiedRelation.selectOnly(_:)
2019-12-29 16:57:26 +01:00
Gwendal Roué
db7edd389f
rowid is a unique key
2019-12-29 16:40:57 +01:00
Gwendal Roué
e69fb4a0db
Remove unused code
2019-12-17 18:58:51 +01:00
Gwendal Roué
5e75f0e0aa
[skip travis] remove outdated documentation
2019-12-14 19:45:33 +01:00
Gwendal Roué
4bf5724543
Can't issue ROLLBACK on suspension
...
This is because this would allow a database modification to run in an aborted transaction
2019-12-13 08:14:49 +01:00
Gwendal Roué
19ba7d67e8
Suspension is fully experimental
2019-12-12 19:26:08 +01:00
Gwendal Roué
6656f72782
Rename "lock prevention" to "suspension"
2019-12-12 08:47:49 +01:00
Gwendal Roué
2b37e28691
remove debugging code
2019-12-09 19:20:02 +01:00
Gwendal Roué
69fc6a0496
Test that RowDecoder won't decode several sub-records from the root row - addresses #664
2019-12-09 19:09:27 +01:00
Gwendal Roué
580fa6a554
Merge pull request #662 from groue/dev/SQLite3.30.1
...
Upgrade custom SQLite builds to version 3.30.1
2019-12-09 08:06:45 +01:00
Gwendal Roué
a0fddfe7ec
Documentation
2019-12-07 13:47:00 +01:00