Commit Graph
7763 Commits
Author SHA1 Message Date
Gwendal Roué f12436e55b CHANGELOG 2020-02-26 14:09:24 +01:00
Gwendal Roué 98c4356638 Cleanup 2020-02-26 14:07:38 +01:00
Gwendal Roué e5c4fb7e30 Update DatabaseMigrator documentation 2020-02-26 13:59:04 +01:00
Gwendal Roué 4f9878a1da Update tests for the deprecated registerMigrationWithDeferredForeignKeyCheck method 2020-02-26 13:57:49 +01:00
Gwendal Roué 8557d113a3 Deprecate registerMigrationWithDeferredForeignKeyCheck
This method is now equivalent to registerMigration, starting SQLite 3.7.16
2020-02-26 13:57:14 +01:00
Gwendal Roué 193509db58 Merge pull request #707 from haikusw/pr_docs_typos_fixes
Docs: Fix a collection of typos
2020-02-26 08:05:22 +01:00
Tyler Morrison d7ce175b8e Documentation: Fixes for some typos 2020-02-25 14:43:39 -08:00
Gwendal Roué d190a26737 More precise documentation vocabulary 2020-02-25 15:05:11 +01:00
Gwendal Roué 7ee4e269c3 Fix sample code 2020-02-25 15:02:18 +01:00
Gwendal Roué f7465896fa Enhance documentation for features brought by #690 2020-02-25 14:59:11 +01:00
Gwendal Roué 4c8574aa4c Merge branch 'development' v4.10.0 2020-02-23 14:09:57 +01:00
Gwendal Roué 7475c25fa7 v4.10.0 2020-02-23 13:17:32 +01:00
Gwendal Roué 3379bf3b08 Merge pull request #690 from groue/dev/qualifiedSQLLiteral
Enhance SQLLiteral and SQL interpolation
2020-02-15 09:34:23 +01:00
Gwendal Roué 7af3f48150 TODO 2020-02-15 07:04:50 +01:00
Gwendal Roué 1b8511ab51 Documentation 2020-02-14 12:59:06 +01:00
Gwendal Roué 355ae49bc2 CHANGELOG 2020-02-14 12:46:01 +01:00
Gwendal Roué 8c3274bd3c Cleanup 2020-02-14 12:36:36 +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é 03992ab45c CHANGELOG 2020-02-14 11:41:37 +01:00
Gwendal Roué 1f4b374bce Documentation for #689 2020-02-14 11:40:17 +01:00
Gwendal Roué a5b2757128 Merge pull request #689 from groue/rename-column
Add support for renaming columns within a table
2020-02-14 11:25:42 +01:00
Gwendal Roué b961962f93 Cleanup 2020-01-25 16:29:04 +01:00
Gwendal Roué c64b2d1032 Cleanup 2020-01-25 16:18:12 +01:00
Gwendal Roué 3ccfcb61ce Cleanup SQLLiteral elements 2020-01-25 16:11:17 +01:00
Gwendal Roué e4c6029e72 Cleanup internal APIs 2020-01-25 14:37:32 +01:00
Gwendal Roué d448bd8bd5 Test SQLLiteral.mapSQL qualification 2020-01-25 14:32:13 +01:00
Gwendal Roué e999ab5ecb Don't deprecate SQLLiteral.mapSQL, after all 2020-01-25 13:46:00 +01:00
Gwendal Roué db8585aa85 Test for SQLLiteral(expression) 2020-01-25 12:34:22 +01:00
Gwendal Roué e2545b3427 Test for more complex SQLLiteral generation 2020-01-25 12:15:14 +01:00
gjeck 38a161f92b Fix imports for SPM tests 2020-01-24 10:53:34 -08: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é b8c5af5cef Fix availability test 2020-01-24 09:03:06 +01:00
Gwendal Roué ddd22a1dfb Restore Swift 4.2 by default 2020-01-24 09:00:51 +01:00
Gwendal Roué 2d3a9991d4 Test documented use case 2020-01-24 08:55:55 +01: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é 554cbaa307 Stop using SQLExpression.sqlLiteral 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