Commit Graph
392 Commits
Author SHA1 Message Date
Gwendal Roué db0dfdcd59 VirtualTableModule cleanup and documentation 2016-10-08 13:36:27 +02:00
Gwendal Roué fc49643860 Remove QueryInterfaceRequest public initializer 2016-10-08 13:06:46 +02:00
Gwendal Roué 7968c1dcd2 Fix warnings 2016-10-08 12:59:34 +02:00
Gwendal Roué b9180798ca Tests for delete(db) return value 2016-10-08 12:53:35 +02:00
Gwendal Roué 0da1a293e6 Update tests for error descriptions that include argument literals, since DatabaseValue.description now returns the SQL literal representation of the value 2016-10-08 12:17:49 +02:00
Gwendal Roué b8ab30fc22 DatabaseValue.description now returns the SQL literal representation of the value 2016-10-08 11:51:10 +02:00
Gwendal Roué a541e6db1f deleteOne(_🔑) and deleteAll(_:keys:) with implicit rowID key 2016-10-08 08:36:56 +02:00
Gwendal Roué a4aab9f4c2 TableMapping.selectsRowID test 2016-10-08 08:33:19 +02:00
Gwendal Roué 2d6abc088f TableMapping.selectsRowID + passing tests for FTS3Record 2016-10-07 19:17:40 +02:00
Gwendal Roué a1f3d42fd0 Failing tests from FTS3Record 2016-10-07 17:47:56 +02:00
Gwendal Roué 9f3137e509 FTS cleanup 2016-10-07 14:48:34 +02:00
Gwendal Roué e300546a32 FTS4 and FTS5 options 2016-10-07 14:21:29 +02:00
Gwendal Roué bdc25e4fb5 Query interface matching() method 2016-10-07 08:59:39 +02:00
Gwendal Roué 24c672ddc9 Validation of raw FTS5 patterns requires a database connection and a table name 2016-10-07 08:32:23 +02:00
Gwendal Roué 13bdb881c7 FTS column queries 2016-10-07 06:17:54 +02:00
Gwendal Roué 12c46c794f Remove dead code 2016-10-07 06:17:26 +02:00
Gwendal Roué 9a0942e9b2 Split FTS tokenizer tests from table builder tests 2016-10-06 08:52:51 +02:00
Gwendal Roué 26725bd878 FTS5 table builder tests 2016-10-06 08:35:35 +02:00
Gwendal Roué ae01148b76 FTS5 patterns tests 2016-10-06 08:35:15 +02:00
Gwendal Roué 1269959265 FTS3 tokenizer tests: stop testing NFC/NFD 2016-10-06 08:31:31 +02:00
Gwendal Roué a471d68d6c FTS3 tokenizer tests: stop testing NFC/NFD 2016-10-06 08:31:20 +02:00
Gwendal Roué 2eb8859080 FTS3PatternTests: stop testing NFC/NFD, and stop testing document prefix queries, which seem fragile according to SQLite version (some tests fail with custom SQLite 3.14.1) 2016-10-06 08:30:56 +02:00
Gwendal Roué d60a1193b2 Reminder about NFKC NFKD tests 2016-10-05 18:09:50 +02:00
Gwendal Roué 74434e87c5 Introduce FTS5 2016-10-05 14:14:14 +02:00
Gwendal Roué 41935d8b48 Code cleanup 2016-10-05 14:13:57 +02:00
Gwendal Roué 28950473b2 FTS documentation 2016-10-05 08:48:31 +02:00
Gwendal Roué 6a478ca315 Introduce FTS tests 2016-10-05 06:17:42 +02:00
Gwendal Roué a01d8548e3 FTS cleanup 2016-10-04 18:21:51 +02:00
Gwendal Roué 6855a0afbe #92: FTS3Tokenizer and tests 2016-10-04 14:17:34 +02:00
Gwendal Roué f1ecdfc9df #92: Refactor experimental API around virtual tables creation so that virtual modules can require initialization parameters 2016-10-04 09:37:01 +02:00
Gwendal Roué 01fc9f6130 #92: Experimental API around virtual tables creation 2016-10-04 09:08:23 +02:00
Gwendal Roué 1d2e1d9950 #92, #129: Test interaction of RowConvertible and MutablePersistable with FTS virtual tables 2016-10-03 22:35:10 +02:00
Gwendal Roué 47938a2278 #92, #129: Test full-text search with NFD-normalized patterns 2016-10-03 20:00:32 +02:00
Gwendal Roué 6922ad04a9 #92, #129: Rename test file 2016-10-03 19:37:00 +02:00
Gwendal Roué cc24e73483 #92, #129: Test FTS3Pattern(matchingAnyTokenIn:), FTS3Pattern(matchingAllTokensIn:), FTS3Pattern(matchingPhrase:) 2016-10-03 19:34:56 +02:00
Gwendal Roué 59fed5c756 #92, #129: Test FTS3Pattern with invalid patterns 2016-10-03 19:10:16 +02:00
Gwendal Roué f93e7579bc #92, #129: Test FTS3Pattern with valid patterns 2016-10-03 19:06:43 +02:00
Gwendal Roué 1244b6b283 Move == operators inside their adopting type 2016-09-30 06:00:50 +02:00
Gwendal Roué 36eda331d1 ROUND() is a weird beast... Don't use it as an documentation example (and fix extensibility tests) 2016-09-28 19:03:23 +02:00
Gwendal Roué 744d2a535f Failing extensibility tests 2016-09-28 09:13:00 +02:00
Gwendal Roué 5ba06a74a0 Remove support for text encodings 2016-09-28 07:14:22 +02:00
Gwendal Roué 5a572b25a0 Refactor the query interface types to enhance extensibility 2016-09-27 23:11:21 +02:00
Gwendal Roué e7378cbba0 Test that the truncate optimization does not prevent transaction observers from observing individual deletions 2016-09-22 07:45:32 +02:00
Gwendal Roué dc58ff19d4 Clarification the behavior of the REPLACE conflict handling regarding transaction observers 2016-09-22 07:44:43 +02:00
Gwendal Roué 7bce331eb1 Clarification the behavior of the REPLACE conflict handling regarding transaction observers 2016-09-22 06:48:18 +02:00
Gwendal Roué 365e44e376 TableMapping.deleteAll(db) 2016-09-17 12:50:57 +02:00
Gwendal Roué 0c525a8e52 Only the IGNORE conflict policy invalidates the last inserted rowID (#118) 2016-09-16 19:37:14 +02:00
Gwendal Roué 4ac562a55a Fixes #118 2016-09-16 13:52:43 +02:00
Gwendal Roué f573046107 Merge branch 'Swift2.3' of github.com:groue/GRDB.swift
Conflicts:
	CHANGELOG.md
	GRDB.swift.podspec
	GRDB/Core/DatabaseValue.swift
	GRDB/Core/Row.swift
	GRDB/Core/RowAdapter.swift
	GRDB/Record/Record.swift
	README.md
	Support/Info.plist
	Tests/Public/Core/DatabaseValue/DatabaseValueTests.swift
	Tests/Public/Record/MinimalPrimaryKeyRowIDTests.swift
	Tests/Public/Record/MinimalPrimaryKeySingleTests.swift
	Tests/Public/Record/PrimaryKeyMultipleTests.swift
	Tests/Public/Record/PrimaryKeyRowIDTests.swift
	Tests/Public/Record/PrimaryKeySingleTests.swift
	Tests/Public/Record/PrimaryKeySingleWithReplaceConflictResolutionTests.swift
2016-09-16 06:46:42 +02:00
Gwendal Roué 4a1706ede6 Remove Row.databaseValue(atIndex:) and Row.databaseValue(named:) 2016-09-16 05:58:17 +02:00