swiftlyfalling
30bc7e4f6c
Replace most uses of #if SQLITE_HAS_CODEC with the appropriate USING_BUILTIN_SQLITE or USING_SQLCIPHER defines.
...
This enables easier compilation of a custom version of SQLite that
itself uses the SQLITE_HAS_CODEC define. (ex. If building SQLite with
the SQLite Encryption Extension.)
The SQLITE_HAS_CODEC define is now only used to guard use of the SQLite
encryption APIs.
GRDBCipher builds define USING_BUILTIN_SQLITE and USING_SQLCIPHER.
2016-05-30 18:19:45 -04:00
Gwendal Roué
5fe7c5d888
FetchRequest tests
2016-05-22 20:16:17 +02:00
Gwendal Roué
5fac4abc07
Use FetchRequest instead of QueryInterfaceRequest where relevant
2016-05-19 13:35:45 +02:00
Gwendal Roué
5b57707b86
Rename FetchRequest to QueryInterfaceRequest
2016-05-19 13:08:36 +02:00
Gwendal Roué
eca93cb43f
Fix some tests for iOS8
2016-05-17 13:00:34 +02:00
Gwendal Roué
43e9a63210
FetchRequest.reverse() sort by descending rowID when no ordering has been specified.
2016-04-21 09:03:01 +02:00
Gwendal Roué
484d5a5968
Framework for GRDB+SQLCipher is named GRDBCipher
2016-04-03 21:30:22 +02:00
Gwendal Roué
7e3563f64b
Refactor tests so that DatabaseQueue can be configured at the target level. We are preparing tests for encrypted databases.
2016-04-03 16:20:45 +02:00
Gwendal Roué
a97530bde8
The Query interface no longer use non-unicode aware UPPER and LOWER functions
2016-03-28 16:35:20 +02:00
Gwendal Roué
293268a004
Query interface: fix SQL generation for boolean tests
...
For example,`valid == true` now generates `"valid"`
2016-03-24 13:59:43 +01:00
Gwendal Roué
c558d8fcaa
Query interface: fix SQL generation for boolean tests
...
For example,`valid == true` now generates `"valid" <> 0`
2016-03-24 13:50:52 +01:00
Gwendal Roué
9e9fafcc5c
Documentation
2016-03-12 08:21:17 +01:00
Gwendal Roué
1fcc8c764f
Custom SQL functions are collations are now added to database queues and pools.
2016-03-10 13:50:47 +01:00
Gwendal Roué
ee81249c79
FetchRequest.fetchCount() can count all supported queries
2016-03-05 15:24:13 +01:00
Gwendal Roué
b7a7cd953e
FetchRequest.fetchCount() traps when the intent of the developer can’t be satisfied (yet), as in Person.select(name).distinct.fetchCount(db).
2016-03-04 09:15:43 +01:00
Gwendal Roué
de9d8e65bb
Add failing tests for Reader.select(Col.name).distinct.fetchCount(db)
2016-03-03 08:54:18 +01:00
Gwendal Roué
247d8a75f7
Support for EXISTS (subquery)
2016-02-08 08:37:58 +01:00
Gwendal Roué
4004d53da4
Support for comparing collated expressions with optionals
2016-02-07 16:18:30 +01:00
Gwendal Roué
09c599cc62
!FetchRequest.contains()
2016-02-07 15:20:56 +01:00
Gwendal Roué
17aa9350c5
FetchRequest.contains()
2016-02-07 15:18:18 +01:00
Gwendal Roué
06a3fa8338
Prefer declaring protocol adoptions in extensions
2016-02-01 08:14:28 +01:00
Gwendal Roué
b85b958127
Turn RowConvertible.fromRow(_:Row) into RowConvertible.init(_:Row)
2016-02-01 07:57:54 +01:00
Gwendal Roué
307008e9bc
protocol<RowConvertible+TableMapping>.fetch() and TableMapping.reverse()
2016-01-29 13:38:30 +01:00
Gwendal Roué
f08fc31e64
Remove request.fetchCount(db, expr) and request.fetchCount(db, distinct: expr)
2016-01-29 13:23:55 +01:00
Gwendal Roué
f44ae2848f
Project organization
...
Project organization
README.md
WIP QueryBuilder documentation
README.md
WIP QueryBuilder documentation
WIP QueryBuilder documentation
TODO.md
2016-01-28 08:43:25 +01:00