Gwendal Roué
|
d5638f8e53
|
Update tests and replace filter(value) with filter(databaseValue)
|
2020-11-01 09:44:13 +01:00 |
|
Gwendal Roué
|
8e2fb1fb22
|
Update tests
|
2020-09-06 13:57:16 +02:00 |
|
Gwendal Roué
|
845ae7e0e4
|
Merge pull request #814 from groue/dev/views
Fix regression with views
|
2020-07-23 18:59:16 +02:00 |
|
Gwendal Roué
|
a526351b4c
|
Failing test for #812
|
2020-07-23 08:31:53 +02:00 |
|
Gwendal Roué
|
e2816905bb
|
OSX 11 is OSX 10.16
|
2020-07-22 20:22:03 +02:00 |
|
Gwendal Roué
|
ee2d8eae50
|
Expose ascNullLast and descNullFirst
This is because iOS 14 runs SQLite 3.31.1
|
2020-07-22 20:17:52 +02:00 |
|
Gwendal Roué
|
229fb36074
|
Fix test
|
2020-07-05 16:23:19 +02:00 |
|
Gwendal Roué
|
90f2642ec6
|
Make good use of the visitor pattern
|
2020-07-05 15:07:52 +02:00 |
|
Gwendal Roué
|
d988be49a6
|
Revert #748
|
2020-04-09 13:42:37 +02:00 |
|
Gwendal Roué
|
7ce6a8a094
|
Rename QueryInterfaceRequest to Request
|
2020-04-04 20:12:03 +02:00 |
|
Gwendal Roué
|
d60fe3c22f
|
Replace import GRDBCustomSQLite with import GRDB
|
2020-04-04 16:44:01 +02:00 |
|
Gwendal Roué
|
9aa67f9db9
|
SE-0255: Implicit returns from single-expression functions
|
2020-03-08 23:12:46 +01:00 |
|
Gwendal Roué
|
0f503fe0db
|
Remove deprecated FetchRequest.prepare(_: forSingleResult:)
|
2020-03-08 16:18:55 +01:00 |
|
Gwendal Roué
|
9578f984ec
|
Remove useless #if compiler/swift checks
|
2020-03-08 13:42:44 +01:00 |
|
Gwendal Roué
|
c60a945610
|
Fix SQL
|
2020-01-05 20:36:49 +01:00 |
|
Gwendal Roué
|
adc7079943
|
Cleanup
|
2020-01-05 13:55:10 +01:00 |
|
Gwendal Roué
|
cd8fbbe8f2
|
Add a test for foreign column annotation
|
2020-01-05 13:45:23 +01:00 |
|
Gwendal Roué
|
580fa6a554
|
Merge pull request #662 from groue/dev/SQLite3.30.1
Upgrade custom SQLite builds to version 3.30.1
|
2019-12-09 08:06:45 +01:00 |
|
Gwendal Roué
|
7208f53176
|
Support for NULLS FIRST and NULLS LAST
|
2019-12-07 12:31:58 +01:00 |
|
Gwendal Roué
|
b6ede15b18
|
Static tests for QueryInterfaceRequest type inference
|
2019-12-07 10:37:02 +01:00 |
|
Gwendal Roué
|
aa536813d9
|
Add request type inference - cc @pakko972
|
2019-12-07 10:24:15 +01:00 |
|
Gwendal Roué
|
ede4572da3
|
Update tests for the new forKey(_:) methods
|
2019-07-27 16:34:17 +02:00 |
|
Gwendal Roué
|
ab000d7a4f
|
Remove useless expression parenthesis from SQL
|
2019-05-26 20:08:13 +02:00 |
|
Gwendal Roué
|
680f3ad20c
|
Nicer WHERE, HAVING and ON output
|
2019-05-26 15:32:00 +02:00 |
|
Gwendal Roué
|
a4a26e01e7
|
SelectionRequest.annotated(with:)
|
2019-05-21 08:05:07 +02:00 |
|
Gwendal Roué
|
1c1ee4e92a
|
GRDBCipher is no longer. Long live GRDB.swift/SQLCipher.
|
2019-04-19 13:11:55 +02:00 |
|
Alex Robinson
|
7070dedf1a
|
Replace FetchRequestHint with a boolean for single results
Fixes previous test failure
|
2019-04-16 10:20:36 +10:00 |
|
Alex Robinson
|
f9868bd8b5
|
Update tests to expect "LIMIT 1" where appropriate
Tests currently fail
|
2019-04-11 11:51:16 +10:00 |
|
Gwendal Roué
|
db67d3840b
|
Principle of least astonishment: rrename argument label rawSQL to sql
|
2019-02-17 13:28:41 +01:00 |
|
Gwendal Roué
|
a57aa2e346
|
rawSQL migration complete
|
2019-02-17 13:28:40 +01:00 |
|
Gwendal Roué
|
4bd5ace2ee
|
Use rawSQL as parameter name for raw SQL
|
2019-02-17 13:28:40 +01:00 |
|
Gwendal Roué
|
59162d93de
|
Rename Database.execute(_:String) to Database.execute(rawSQL:String)
|
2019-02-17 13:27:54 +01:00 |
|
Gwendal Roué
|
4ecef0ea11
|
Don't be shy on interpolation
|
2019-02-17 13:24:38 +01:00 |
|
Gwendal Roué
|
637de8b6fa
|
SQLiteral are passed via a literal parameter
|
2019-02-17 13:24:38 +01:00 |
|
Gwendal Roué
|
f018c7f823
|
Rename SQLString to SQLLiteral
|
2019-02-17 13:24:38 +01:00 |
|
Gwendal Roué
|
f27a1e9504
|
request.select(SQLString)
|
2019-02-17 13:24:38 +01:00 |
|
Gwendal Roué
|
699c63e913
|
Explain how SQLSelectQueryGenerator uses RowAdapter
|
2019-02-03 19:55:26 +01:00 |
|
Gwendal Roué
|
e924587236
|
Extract generation of SQL SELECT queries into SQLSelectQueryGenerator
|
2019-02-03 14:56:28 +01:00 |
|
Gwendal Roué
|
ae66563654
|
Documentation + test for mixed arguments
|
2018-08-23 14:52:59 +02:00 |
|
Gwendal Roué
|
da60a5004e
|
Tests for select(..., as:)
|
2018-08-19 12:30:02 +02:00 |
|
Gwendal Roué
|
f4382e6bcb
|
Test that request.reversed() has no effect when request is not already ordered
|
2018-04-26 12:52:01 +02:00 |
|
Gwendal Roué
|
d39f02113c
|
Restore T.fetchXXX(db, request) APIs which were removed in PR #311
|
2018-04-16 08:50:55 +02:00 |
|
Gwendal Roué
|
b9333fab34
|
Update a few tests that have been broken by 64899e5a39.
(Some expressions which were not safely wrapped inside parenthesis now are wrapped inside parenthesis)
|
2018-04-10 13:45:31 +02:00 |
|
Gwendal Roué
|
639de6ca11
|
Rename TableMapping to TableRecord
|
2018-02-27 13:28:29 +01:00 |
|
Gwendal Roué
|
f605e049fd
|
Rename TypedRequest to FetchRequest, drop Request
|
2018-02-26 13:12:33 +01:00 |
|
Gwendal Roué
|
c700f5fc68
|
Move TableMapping deletion methods to MutablePersistable (prevent TableMapping from being able to modify the database)
|
2017-08-18 17:15:10 +02:00 |
|
Gwendal Roué
|
823b094b60
|
SE-0168
|
2017-08-18 14:22:14 +02:00 |
|
Gwendal Roué
|
06a6c982aa
|
SE-0148
|
2017-08-18 14:22: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é
|
e54cec9123
|
Move tests to Swift Package Manager test target
|
2017-04-23 15:47:16 +02:00 |
|