Gwendal Roué
3d06841eba
Remove Xcode9.1 warnings about deprecated string.characters
2017-11-01 07:33:03 +01:00
Gwendal Roué
efe201e032
More tests for observation of empty deferred transactions
2017-10-31 08:17:30 +01:00
Gwendal Roué
28c903f7ea
Failing tests for observation of empty deferred transactions
2017-10-31 08:11:12 +01:00
Gwendal Roué
a5b45031d2
Failing tests for observation of empty deferred transactions
2017-10-31 07:31:15 +01:00
Gwendal Roué
42e178b41d
Improve tests robustness
2017-10-30 18:21:02 +01:00
Gwendal Roué
c3fe2c13f4
More tests for "DROP INDEX" and "DROP TRIGGER" ( #267 )
2017-10-30 18:15:54 +01:00
Gwendal Roué
a0e3d4ad69
Failing tests for "DROP VIEW" statements ( #267 )
2017-10-30 17:39:35 +01:00
Gwendal Roué
2a8e48ba63
Minor
2017-10-24 08:11:05 +02:00
Gwendal Roué
1981adeb22
Request.asSQLRequest(_:cached:)
2017-10-23 19:20:38 +02:00
Gwendal Roué
c62c3df00d
Failing test for drop temporary table
2017-10-11 08:10:22 +02:00
Gwendal Roué
c2fb23c69c
Stop using String.characters view
2017-10-10 08:15:28 +02:00
Gwendal Roué
9037d51bc7
Failing test for Encodable+Persistable (null values are not encoded)
2017-10-09 08:03:43 +02:00
Gwendal Roué
fb8c68f5e0
Fix compiler error
2017-10-07 07:41:17 +02:00
Gwendal Roué
4995b5bb8c
Group truncate optimization tests together
2017-10-07 06:51:13 +02:00
Gwendal Roué
fc88acc782
Add failing test for "DROP TABLE t" executed from a prepared statement.
2017-10-05 13:55:51 +02:00
Gwendal Roué
1578dfe26b
Cleanup
2017-10-05 13:50:31 +02:00
Gwendal Roué
a91da59448
Database.primaryKey(_:) no longer returns an Optional. PrimaryKeyInfo.isRowID tells whether the primary key is the rowed.
2017-09-15 09:00:56 +02:00
Gwendal Roué
2bb2493731
Turn MutablePersistable.databaseDictionary into a property
2017-09-11 08:53:56 +02:00
Gwendal Roué
c61949ceaf
DatabaseError.description contains primary result code, not extended result code.
2017-09-11 08:12:43 +02:00
Gwendal Roué
3fce1e00c9
Introduce AnyDatabaseReader and AnyDatabaseWriter
2017-09-10 13:37:48 +02:00
Gwendal Roué
0309abca6f
Tests for Statement.SelectionInfo.description
2017-09-08 13:18:45 +02:00
Gwendal Roué
a6c3566aa5
Record.updateChanges(_:) documentation
2017-09-08 08:08:07 +02:00
Gwendal Roué
52fa24e1c4
QueryInterfaceRequest.deleteAll() now honors the order and limit clauses when SQLite is compiled with the SQLITE_ENABLE_UPDATE_DELETE_LIMIT option
2017-09-08 07:07:43 +02:00
Gwendal Roué
a7ecf41e3b
QueryInterfaceRequest.deleteAll() now honors the order and limit clauses. New Set(cursor) initialiser.
2017-09-07 19:22:21 +02:00
Gwendal Roué
e68e5f6265
Tests for Record.updateChangedColumns(_:)
2017-09-06 09:12:38 +02:00
Gwendal Roué
aa064029ec
More typed cursor tests
2017-09-06 08:58:27 +02:00
Gwendal Roué
e84060e01c
More value tests
2017-09-06 08:50:30 +02:00
Gwendal Roué
247cbdd0d0
Date and NSDate interpret database numbers as unix timestamps.
2017-09-05 08:58:17 +02:00
Gwendal Roué
221f378d10
Tests for zero-length blobs as function arguments
2017-09-03 10:31:02 +02:00
Gwendal Roué
06a8c8b940
GRDB is now able to store and load zero-length blobs.
2017-09-03 10:09:00 +02:00
Gwendal Roué
eee80b421a
Hide StatementCursor from public interface
2017-09-03 08:48:31 +02:00
Gwendal Roué
e784ebbcdd
Remove public StatementArguments()
2017-08-31 19:35:11 +02:00
Gwendal Roué
30ee538dbd
StatementArguments(), tests, changeling
2017-08-30 20:07:34 +02:00
Gwendal Roué
7939ba6e05
Expose RowCursor.statement, StatementCursor.statement, Statement.index(ofColumn:)
2017-08-30 14:06:50 +02:00
Gwendal Roué
d9cfa71fc7
MutablePersistable.databaseDictionary() return [String: DatabaseValue]
2017-08-28 08:13:20 +02:00
Gwendal Roué
715e12912b
New MutablePersistable.databaseDictionary() convenience method
2017-08-25 18:20:35 +02:00
Gwendal Roué
8ccc23333d
Replace DatabaseCursor with new concrete cursors RowCursor, StatementColumnCursor, NullableStatementColumnCursor, and StatementCursor.
2017-08-23 08:16:30 +02:00
Gwendal Roué
c5da564fb3
Use built-in SQLite3 module when available
2017-08-19 15:21:44 +02:00
Gwendal Roué
20419834a6
Sequence.Iterator.Element -> Sequence.Element
2017-08-18 18:10:56 +02: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é
96159bd09c
RowConvertible.fetchCursor(_:keys:) returns a non-optional cursor.
2017-08-18 16:48:06 +02:00
Gwendal Roué
376d295853
Replace TableMapping.selectsRowID with TableMapping.databaseSelection
2017-08-18 16:27:24 +02:00
Gwendal Roué
4ec3e0f7d8
Drop deprecated TableMapping.primaryKeyRowComparator(_:)
2017-08-18 14:30:28 +02:00
Gwendal Roué
da440a5e16
Swift 4 + SPM
...
- Upgrade Tests/SPM package layout and format to version 4, and have `make test_install_SPM` succeed
- Update .gitignore in order to ignore Package.resolved instead of Package.pins
2017-08-18 14:22:15 +02:00
Gwendal Roué
1f5d75d8e9
Fix a compiler error in Xcode 9 beta 5 (and improve tests for DatabaseValue conformance to Equatable)
2017-08-18 14:22:14 +02:00
Gwendal Roué
dc75ca4caf
SE-0166
2017-08-18 14:22:14 +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é
2fd071d90e
NSLocalizedDescriptionKey
2017-08-18 14:20:35 +02:00
Gwendal Roué
badec62cdd
SE-0110
2017-08-18 14:20:35 +02:00