Gwendal Roué
0842e11281
Thourough testing of DatabaseColumnDecodingStrategy
2021-08-29 13:53:22 +02:00
Gwendal Roué
e6e2536f6b
Reverse DatabaseColumnDecodingStrategy
...
It does not convert coding keys to columns, but columns to CodingKeys, exactly as JSONDecoder.KeyDecodingStrategy
2021-08-29 13:52:36 +02:00
Gwendal Roué
76f8b5547f
Failing test
2021-08-29 09:51:24 +02:00
Gwendal Roué
8846ea3c25
Failing test
2021-08-29 09:40:16 +02:00
Gwendal Roué
5a04183baf
Fix test name
2021-08-29 08:55:06 +02:00
Gwendal Roué
42045ad8fb
Merge remote-tracking branch 'origin/development' into pr1029
2021-08-29 08:37:13 +02:00
Gwendal Roué
33e2c379db
Make it clear that strategies apply to columns only
...
...and not to row scopes or prefetched records
2021-08-28 16:24:53 +02:00
Gwendal Roué
e0b397fd4e
Upgrade versions of compared libraries
2021-08-28 14:55:18 +02:00
Gwendal Roué
c26df67e78
Raise the number of iterations for more precise average
2021-08-28 14:54:51 +02:00
Gwendal Roué
28f2aa1423
Upgrade performance comparison dependencies
2021-08-22 16:18:25 +02:00
Gwendal Roué
0511fec001
SE-0299: enhance access to Column.rowID
2021-08-22 12:42:53 +02:00
Gwendal Roué
48ef691897
Disallow FTS5 column matching against NULL
...
SQLite just throws a syntax error
2021-08-22 11:03:18 +02:00
Ethan Wong
836432c4ce
Add tests of column matching expression for fts5
2021-08-22 16:30:07 +08:00
Gwendal Roué
2858b803d0
Remove useless <Void> qualifiers
...
SQLRequest and CommonTableExpression are <Row> by default
2021-08-21 12:25:04 +02:00
Scott Berrevoets
79abf62a47
Fix name and convert Decodables as well
2021-08-14 21:45:35 -07:00
Scott Berrevoets
4ab7f1cf3e
Add support for encoding as well
2021-08-12 20:12:10 -07:00
Scott Berrevoets
cdc7805471
Add option for converting snake case
...
This adds an option to convert column names from snake case to camel
case, similar to how JSONDecoder works. In fact, the implementation here
is largely based on JSONDecoder's implementation.
2021-08-12 20:11:54 -07:00
Gwendal Roué
dc3fac95db
allStatements() can build statements without any arguments
2021-07-30 14:24:08 +02:00
Gwendal Roué
e1dd96603b
Test that cursors can trigger transaction observers
...
This is important because users will start executing database modifications with fetching methods, now that they have db.allStatement().
2021-07-30 13:41:52 +02:00
Gwendal Roué
f2296c065a
Test that cursors can invalidate schema cache
...
This is important because users will start executing DROP statements with fetching methods, now that they have db.allStatement().
2021-07-30 13:02:36 +02:00
Gwendal Roué
096eeffecf
More allStatements() documentation
2021-07-30 12:54:52 +02:00
Gwendal Roué
5cd34da6ca
Use allStatements() from makeStatement()
2021-07-30 08:50:15 +02:00
Gwendal Roué
a4acbf4854
Tests consuming values from allStatements()
2021-07-29 23:04:02 +02:00
Gwendal Roué
c9eb67dae8
Database.allStatements(sql:literal:)
...
Addresses #1015
2021-07-29 22:41:49 +02:00
Gwendal Roué
bf601e6810
Merge SelectStatement and UpdateStatement
...
Addresses #1015
2021-07-29 20:20:15 +02:00
Gwendal Roué
6cc45202a0
Enable vacuum(into:) with SQLCipher
2021-07-20 20:02:18 +02:00
Gwendal Roué
368594b051
Disable VACUUM INTO tests when not available
2021-07-20 19:42:40 +02:00
Thaddeus Ternes
7d0c8c6657
Refactor tests, fix inline documentation parameter value
2021-07-12 02:28:49 -05:00
Thaddeus Ternes
b28f75c5a2
Add VACUUM INTO support to DatabaseWriter
2021-07-12 01:19:45 -05:00
Gwendal Roué
620eb6f21c
Default DatabaseValueConvertible+Codable implementation uses the JSON format
2021-07-04 17:34:31 +02:00
Gwendal Roué
ff576d945c
Failing tests for #999
2021-06-27 15:35:44 +02:00
Gwendal Roué
f54467af3c
Fix test for batch deletion of Identifiable type with Optional ID
2021-06-21 18:26:35 +02:00
Gwendal Roué
bdfd5ce277
Table: batch delete & update
...
Also, MutablePersistableRecord is no longer necessary for such operations. TableRecord is enough.
2021-06-21 18:08:27 +02:00
Gwendal Roué
120c973e29
Refactor test for association from CTE to Table
2021-06-20 14:31:45 +02:00
Gwendal Roué
17ee1debdc
Test associations from TableRecord to Table
2021-06-20 14:26:21 +02:00
Gwendal Roué
eedd3af59b
Test association from CTE to Table
2021-06-20 11:54:55 +02:00
Gwendal Roué
629840f6f2
Table.fetchCount(_:)
2021-06-20 11:37:59 +02:00
Gwendal Roué
32bbee9c8a
Tests for Table Associations
2021-06-20 11:07:38 +02:00
Gwendal Roué
9def48f4f6
Tests for Table
2021-06-19 17:31:40 +02:00
Gwendal Roué
2ce588ad76
Cached statements from a SQL literal
...
Addresses https://github.com/groue/GRDB.swift/issues/985#issuecomment-859570434
2021-06-19 13:57:53 +02:00
Gwendal Roué
046564dab6
Fix #991
2021-06-19 13:05:24 +02:00
Gwendal Roué
1aeb10439f
synchronize: failing test for FTS5 ifNotExists support
2021-06-17 19:30:24 +02:00
Pierre Pagnoux
d8cb3066a1
synchronize: failing test for ifNotExists support
2021-06-15 17:35:45 +02:00
Gwendal Roué
e6ef8740eb
Merge branch 'master' into development
2021-05-31 13:58:51 +02:00
Jonathan Rose
ae7f83dc40
Fix spelling succesful -> successful.
2021-05-31 14:28:28 +03:00
Gwendal Roué
1693a706e0
Skip tests that do not support encrypted databases
2021-05-29 13:26:17 +02:00
Gwendal Roué
1c2499528c
Merge branch 'development' into dev/issue-971
2021-05-02 10:12:41 +02:00
Gwendal Roué
e5a810105a
Failing tests for #965
2021-05-01 16:59:38 +02:00
Gwendal Roué
a46b2ad127
Fix "cannot ATTACH database within transaction" error in older versions of SQLite
2021-05-01 15:08:36 +02:00
Gwendal Roué
a4e8bbe2da
Add test for cross-attached-databases association
2021-05-01 14:55:53 +02:00