Commit Graph
8949 Commits
Author SHA1 Message Date
Gwendal Roué a75a7b82ce Work around an SQLite bug which prevents rollbacking a transaction with sqlite3_commit_hook 2020-07-11 19:47:12 +02:00
Gwendal Roué 90e7449d6a Documentation 2020-07-11 19:21:33 +02:00
Gwendal Roué f9bd457cbd Cleanup 2020-07-11 18:33:43 +02:00
Gwendal Roué 2f6f8f88f8 Cleanup 2020-07-11 17:43:51 +02:00
Gwendal Roué 604ac92a6d Move PreparedRequest where it belongs 2020-07-11 17:40:22 +02:00
Gwendal Roué 4718de0f6c CHANGELOG 2020-07-11 17:36:41 +02:00
Gwendal Roué 002287ca28 Close FetchRequest, make it visitable 2020-07-11 17:30:11 +02:00
Gwendal Roué 31e8d926a8 Remove _SQLExpressionVisitor default handling of _SQLExpressionCollate 2020-07-11 13:41:44 +02:00
Gwendal Roué 99ed742555 "row id" -> "rowid" 2020-07-11 13:21:14 +02:00
Gwendal Roué 67d3fa1e68 Document removal of query interface internals from public interface 2020-07-11 11:44:50 +02:00
Gwendal Roué 8a8518a961 Update playgrounds 2020-07-11 11:17:23 +02:00
Gwendal Roué ae41859bbb Cleanup 2020-07-11 10:57:24 +02:00
Gwendal Roué 813950f832 Avoid SQLITE_BUSY when opening a DatabaseSnapshot. 2020-07-09 17:45:57 +02:00
Gwendal Roué cce8c832c7 [nil].contains(expr) now generates expr = NULL 2020-07-06 20:40:37 +02:00
Gwendal Roué fc3e64989d Cleanup _SQLExpressionContains 2020-07-06 20:18:21 +02:00
Gwendal Roué d05f11293e NULL is falsey 2020-07-06 15:14:43 +02:00
Gwendal Roué b36a92c853 Towards increased SQLCollection.contains robustness 2020-07-06 15:13:55 +02:00
Gwendal Roué 995d90ae86 Cleanup SQLExpression.identifyingRowIDs(_:for:) 2020-07-06 12:01:18 +02:00
Gwendal Roué 229fb36074 Fix test 2020-07-05 16:23:19 +02:00
Gwendal Roué 68785d1c2d Hide _SQLAssociation 2020-07-05 16:21:28 +02:00
Gwendal Roué ed7faa3714 Documentation 2020-07-05 16:14:44 +02:00
Gwendal Roué 90f2642ec6 Make good use of the visitor pattern 2020-07-05 15:07:52 +02:00
Gwendal Roué 4c3029e5c1 Not a bug after all
But add comments, and an extra test for compound primary keys
2020-07-02 19:09:46 +02:00
Gwendal Roué 46e9e28a3f Spot a bug in JoinMapping.joinExpression(leftRows:) 2020-07-02 08:49:55 +02:00
Gwendal Roué effdc8df6c Remove a debugging print() 2020-07-02 08:31:25 +02:00
Gwendal Roué 268a45a635 Prepare for different kinds of SQLAssociationCondition 2020-07-02 08:29:49 +02:00
Gwendal Roué 97cb1d595e Improve groupByPrimaryKey()
Using the rowID when possible yields better performance
2020-07-01 21:25:33 +02:00
Gwendal Roué a328faa834 Allow grouping by FastPrimaryKeyExpression 2020-07-01 21:24:27 +02:00
Gwendal Roué 2201026ce8 Introduce FastPrimaryKeyExpression, drop SQLPrimaryKeyExpression
Also, don't let the user access this expression, so that he does not attempt at decoding it. Its only purpose is to generate efficient SQL.
2020-07-01 20:40:11 +02:00
Gwendal Roué bd4a76d5de TODO 2020-06-30 19:31:03 +02:00
Gwendal Roué 63d5fb1d2b Merge pull request #803 from groue/dev/RemoveFetchedRecordsController
Remove FetchedRecordsController
2020-06-29 19:15:38 +02:00
Gwendal Roué cea8c1708f BRAG 2020-06-29 19:15:08 +02:00
Gwendal Roué ad7b044e20 CHANGELOG 2020-06-29 18:49:40 +02:00
Gwendal Roué 1123fdbb23 Mention that FetchedRecordsController is removed in the Migration Guide 2020-06-29 18:49:32 +02:00
Gwendal Roué baa86102ff Fix typo 2020-06-29 18:49:07 +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é 924a596873 Merge branch 'development' v5.0.0-beta.6 2020-06-29 08:18:06 +02:00
Gwendal Roué 4266b1fb45 v5.0.0-beta.6 2020-06-29 08:17:17 +02:00
Gwendal Roué f58c7f6701 Documentation tweaks 2020-06-29 08:13:00 +02:00
Gwendal Roué a9b02a2d2e Merge pull request #801 from groue/dev/Combine
Combine support
2020-06-29 08:04:47 +02:00
Gwendal Roué 74459be4f7 Delete obsolete file 2020-06-28 23:40:37 +02:00
Gwendal Roué bcf912079b Merge branch 'development' into dev/Combine
# Conflicts:
#	CHANGELOG.md
2020-06-28 23:18:22 +02:00
Gwendal Roué 2a640823c7 Backport https://github.com/groue/GRDBCombine/pull/42 2020-06-28 22:50:37 +02:00
Gwendal Roué 9e77083d40 Relax profiling test 2020-06-28 21:53:34 +02:00
Gwendal Roué e4fbeb1c81 CHANGELOG 2020-06-28 21:23:45 +02:00
Gwendal Roué 733b405f79 Combine + SwiftUI demo 2020-06-28 21:23:39 +02:00
Gwendal Roué 66f0314542 CHANGELOG 2020-06-27 16:08:01 +02:00
Gwendal Roué 039f2661b6 2x faster SQLiteDateParser
GRDBPerformance > DateParsingTests

testParseDateComponents
old 0.296
new 0.073

testParseDate
old 0.431
new 0.181
2020-06-27 16:04:37 +02:00
Gwendal Roué 48bc859801 Add Xcode 12 to Makefile 2020-06-27 14:38:11 +02:00