Commit Graph
3061 Commits
Author SHA1 Message Date
Gwendal Roué 23a4aab3c4 Custom FTS5 tokenizer experiments 2016-10-09 21:35:07 +02:00
Gwendal Roué ec5bd18b67 Custom FTS5 tokenizer experiments 2016-10-09 19:01:51 +02:00
Gwendal Roué 897f3a86c5 More FTS tests 2016-10-08 17:31:59 +02:00
Gwendal Roué 58025d3b01 Remove unused code 2016-10-08 16:59:29 +02:00
Gwendal Roué 591197422d Prefer flatMap to guard when chaining values 2016-10-08 16:56:39 +02:00
Gwendal Roué 027b1f711c URL, UUID and Date now adopt DatabaseValueConvertible through NSURL, NSUUID and NSDate, thanks to the new support for Foundation's ReferenceConvertible. 2016-10-08 16:54:32 +02:00
Gwendal Roué 3c822399b1 Restore DatabaseValue.description into its previous behavior, and test that \n or \t are described as "\\n" and "\\t" (avoid multi-line DatabaseValue description) 2016-10-08 14:38:30 +02:00
Gwendal Roué ae7252fbec Code cleanup 2016-10-08 14:37:14 +02:00
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é 8ed0888ea8 Documentation 2016-10-08 12:46:15 +02:00
Gwendal Roué e5d941f98b Documentation 2016-10-08 12:43:38 +02:00
Gwendal Roué 62f434f0e0 Documentation 2016-10-08 12:22:03 +02:00
Gwendal Roué 829451486e Documentation 2016-10-08 12:18:48 +02:00
Gwendal Roué a51ccad560 Code cleanup 2016-10-08 11:52:46 +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é 915bc6c7cd Less TODO 2016-10-08 11:36:22 +02:00
Gwendal Roué 0bc55a5185 FTS5Pattern and FTS4Tokenizer require SQLITE_ENABLE_FTS5 2016-10-08 10:24:50 +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é 915e72584c fetchOne(_🔑), fetch(_:keys:), fetchAll(_:keys:), deleteOne(_🔑), and deleteAll(_:keys:) now assumes a rowID primary key when table has no explicit primary key. 2016-10-07 17:47:29 +02:00
Gwendal Roué 22ef3c8b2a Persistable DAO assumes "rowid" as a default primary key, so that a record that exposes "rowid" in its persistentDictionary can be updated, and deleted. 2016-10-07 17:44:38 +02:00
Gwendal Roué 0936793b23 TODO 2016-10-07 17:35:07 +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é 3569a85488 FTS TODO 2016-10-06 09:08:22 +02:00
Gwendal Roué 038fe07fd4 TS5Tokenizer.porter(wrapping:) 2016-10-06 08:28:40 +02:00
Gwendal Roué 578b899653 FTS5 virtual table require at least one column 2016-10-06 08:28:05 +02:00
Gwendal Roué 32e0151f7d Correct implementation for FTS5Pattern(rawPattern:) 2016-10-06 08:27:50 +02:00
Gwendal Roué 43cf02d5b8 FTS3Pattern(matchingAllTokensIn:) does not insert useless AND operator 2016-10-06 08:27:22 +02:00
Gwendal Roué 74434e87c5 Introduce FTS5 2016-10-05 14:14:14 +02:00
Gwendal Roué 8a93c7472f FTS3Tokenizer.tokenize(string) 2016-10-05 13:04:53 +02:00
Gwendal Roué 687737f71a FTS3Pattern: remove ability to specify tokenizer 2016-10-05 09:23:03 +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é 03d4175bea More FTS4 2016-10-04 18:39:32 +02:00
Gwendal Roué 25abdef96a Introduce FTS4 2016-10-04 18:27:48 +02:00
Gwendal Roué a01d8548e3 FTS cleanup 2016-10-04 18:21:51 +02:00
Gwendal Roué c1946e57b7 FTS3Pattern initializers use a tokenizer when relevant 2016-10-04 18:15:57 +02:00
Gwendal Roué 811ed6efe5 FTS: TODO 2016-10-04 16:19:58 +02:00
Gwendal Roué 6855a0afbe #92: FTS3Tokenizer and tests 2016-10-04 14:17:34 +02:00
Gwendal Roué f9e68a0c9c #92: FTS3 module documentation 2016-10-04 11:43:15 +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é 11301d7b63 Remove obsolete code 2016-10-03 22:35:31 +02:00
Gwendal Roué cc24e73483 #92, #129: Test FTS3Pattern(matchingAnyTokenIn:), FTS3Pattern(matchingAllTokensIn:), FTS3Pattern(matchingPhrase:) 2016-10-03 19:34:56 +02:00
Gwendal Roué 3ebd5a95d4 #92, #129: FTS3Pattern cleanup 2016-10-03 14:46:16 +02:00