Commit Graph
31 Commits
Author SHA1 Message Date
Gwendal Roué 84ca69d27c Value quoting can now require a database connection 2020-04-29 11:03:51 +02:00
Gwendal Roué 9aa67f9db9 SE-0255: Implicit returns from single-expression functions 2020-03-08 23:12:46 +01:00
Gwendal Roué 00b0dc2a04 Remove availability checks for macOS 10.10 (forgotten in #719) 2020-03-08 19:08:15 +01:00
Gwendal Roué 35ceeebb3d Style tweaks 2019-07-26 20:56:33 +02:00
Gwendal Roué df6bb8761c Swiftlint + whitespace 2019-07-01 08:57:53 +02:00
Gwendal Roué db67d3840b Principle of least astonishment: rrename argument label rawSQL to sql 2019-02-17 13:28:41 +01:00
Gwendal Roué 59162d93de Rename Database.execute(_:String) to Database.execute(rawSQL:String) 2019-02-17 13:27:54 +01:00
Gwendal Roué a230fe400d Availability checks: assume iOS >= 9.0 2019-02-07 08:52:38 +01:00
Gwendal Roué 10e669423f Use the dbValue identifier for variables of type DatabaseValue 2017-06-01 08:35:14 +02:00
Gwendal Roué 55e4abd534 Rename USING_SQLCIPHER to GRDBCIPHER and USING_CUSTOMSQLITE to GRDBCUSTOMSQLITE 2017-05-22 19:15:10 +02:00
Gwendal Roué dae4ae1c6b Reduce internal coupling 2017-04-22 11:12:43 +02:00
Gwendal Roué e2e2c58d9f Add availability checks for FTS3Pattern(matchingAnyTokenIn:), FTS3Pattern(matchingAllTokensIn:), FTS3Pattern(matchingPhrase:) 2017-03-26 14:51:11 +02:00
Gwendal Roué b873162a6f #171: Preserve some extended result code that were lost 2017-03-01 14:19:48 +01:00
Gwendal Roué e4a346995b #171: rename ResultCode.code into ResultCode.resultCode (@hartbit's suggestion) 2017-02-26 17:24:44 +01:00
Gwendal Roué 6bcab179d1 Classify all try! and fatalError into TODO, Programmer Error, or GRDB bug that needs to be fixed. 2016-11-30 08:56:45 +01:00
Gwendal Roué 7630642c56 matching() and match() methods accept nil FTS patterns 2016-10-16 07:47:25 +02:00
Gwendal Roué 95844cd6c0 Validate FTS patterns with db.execute() instead of a fetch sequence since it achieves error detection with less code 2016-10-14 05:05:01 +02:00
Gwendal Roué 3390a26588 Rename FTSXTokenizerRequest to FTSXTokenizerDescriptor 2016-10-10 18:33:32 +02:00
Gwendal Roué 4b3cfc5de1 FTS3 is not ready for Database.tokenize(string:with:). Only FTS5 is. 2016-10-10 18:17:39 +02:00
Gwendal Roué f9d38fdd69 Database.tokenize(string:with:) 2016-10-10 18:15:14 +02:00
Gwendal Roué f6dffe9845 Rename FTSXTokenizerDefinition to FTSXTokenizerRequest 2016-10-10 13:58:05 +02:00
Gwendal Roué 23a4aab3c4 Custom FTS5 tokenizer experiments 2016-10-09 21:35:07 +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é bdc25e4fb5 Query interface matching() method 2016-10-07 08:59:39 +02:00
Gwendal Roué 43cf02d5b8 FTS3Pattern(matchingAllTokensIn:) does not insert useless AND operator 2016-10-06 08:27:22 +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é c1946e57b7 FTS3Pattern initializers use a tokenizer when relevant 2016-10-04 18:15:57 +02:00
Gwendal Roué 01fc9f6130 #92: Experimental API around virtual tables creation 2016-10-04 09:08:23 +02:00