Gwendal Roué
938977bbca
Cleanup DatabaseRegion: no more public intersection, no more public way to specify rowids
2018-01-16 13:58:55 +01:00
Gwendal Roué
33b5c6c616
Rename DatabaseSelectionInfo to DatabaseRegion
2018-01-16 08:23:08 +01:00
Gwendal Roué
fc1b4a6f35
Complete refactoring of SelectStatement.SelectionInfo into DatabaseSelectionInfo
2018-01-15 22:28:43 +01:00
Gwendal Roué
9c8a9fbe32
SelectionInfo.rowIds contains the rowIds fetched by a request
2018-01-14 22:05:18 +01:00
Gwendal Roué
c940675bf3
Fix typo
2018-01-12 09:12:35 +01:00
Gwendal Roué
9a2bf923d2
Update CHANGELOG and README for new key-filtering requests
2018-01-11 20:04:49 +01:00
Gwendal Roué
9b27c0c651
WIP TableMapping.filter(key: [:]) and TableMapping.filter(keys: [[:], ])
2018-01-11 19:34:28 +01:00
Gwendal Roué
2af85e7347
WIP TableMapping.filter(key:1) and TableMapping.filter(keys: [1, 2, 3])
2018-01-11 18:09:01 +01:00
Gwendal Roué
8ce2c09b52
TableAlteration.add(column:type:) accepts nil type
2017-11-29 20:11:28 +01:00
Gwendal Roué
caf051f19d
Improve jazzy documentation layout
2017-10-31 13:37:48 +01:00
Gwendal Roué
c2fb23c69c
Stop using String.characters view
2017-10-10 08:15:28 +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é
a7ecf41e3b
QueryInterfaceRequest.deleteAll() now honors the order and limit clauses. New Set(cursor) initialiser.
2017-09-07 19:22:21 +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é
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é
376d295853
Replace TableMapping.selectsRowID with TableMapping.databaseSelection
2017-08-18 16:27:24 +02:00
Gwendal Roué
2b2e92c810
Cleanup
2017-07-21 12:13:03 +02:00
Gwendal Roué
ec163e94eb
Implement fetchCursor(_:keys:), fetchAll(_:keys:), and fetchOne(_🔑 ) on top of the Query Interface
2017-07-21 09:13:20 +02:00
Gwendal Roué
cc12c046b9
func === (lhs: SQLExpressible?, rhs: SQLCollatedExpression) bugfix
2017-07-18 09:00:49 +02:00
Gwendal Roué
29a26800b7
Cleanup
2017-07-17 20:20:20 +02:00
Gwendal Roué
bc5eeb3b3a
expr == DatabaseValue.null is converted to expr IS NULL.
2017-07-17 20:19:19 +02:00
Gwendal Roué
5f2d6f8e2f
Table creation API enhancements
2017-07-01 16:44:33 +02:00
Gwendal Roué
83c3745165
Documentation
2017-06-30 07:47:14 +02:00
Gwendal Roué
56a4a964b7
QueryInterfaceRequest.order() clears the isReversed flag
2017-06-30 07:47:13 +02:00
Gwendal Roué
56869577d4
Documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
cbb607b6b0
SQLSpecificExpressible.collating(_:) inline documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
7f64abe820
Identify experimental features in the inline documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
59962e5e88
Identify experimental features in the inline documentation
2017-06-20 07:54:19 +02:00
Gwendal Roué
a3ad726111
Cleanup
2017-06-20 07:54:19 +02:00
Gwendal Roué
8ea215931e
Refactor Request
...
Rename TypedRequest's associated type from `Fetched` to `RowConverter`, because if TypedRequest needs a type that can decode rows, the type of the decoded rows does not need to be identical to the decoder type.
Introduce AdaptedRequest and AdaptedTypedRequest as results of Request.adapted(_:) and TypedRequest.adapted(_:), instead of the generic AnyRequest and AnyTypedRequest.
2017-06-20 07:54:19 +02:00
Gwendal Roué
604cf6b522
Remove QueryInterfaceRequest.contains(_:)
2017-06-20 07:54:19 +02:00
Gwendal Roué
b3d731b040
Remove QueryInterfaceRequest.exists()
2017-06-20 07:54:19 +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é
5b7ad40163
[whitespace]
2017-04-11 11:05:49 +02:00
Gwendal Roué
7a90b9ce23
Add availability checks for FTS3 unicode61 tokenizer, FTS4 unindexed columns, and partial indexes.
2017-03-26 14:41:15 +02:00
Gwendal Roué
5302364139
[format]
2017-03-26 13:33:39 +02:00
Gwendal Roué
e64b766599
Expose withoutRowID table creation option for custom SQLite builds and SQLCipher.
2017-03-26 12:48:21 +02:00
Gwendal Roué
9b4e55be28
Documentation for Request.fetchCount() ( https://github.com/groue/GRDB.swift/issues/176#issuecomment-282783884 )
2017-03-01 08:24:43 +01:00
Gwendal Roué
42ebffc4fc
Keep Request.fetchCount() simple ( https://github.com/groue/GRDB.swift/issues/176#issuecomment-282783884 )
2017-03-01 07:56:17 +01:00
Gwendal Roué
2d2c596f75
Add Request.fetchCount(). Implements https://github.com/groue/GRDB.swift/issues/176#issuecomment-282783884
2017-03-01 05:32:52 +01:00
Gwendal Roué
d4c7b41897
StatementArguments.append(contentsOf:) returns the updated values; operators +, &+, +=
2016-12-15 21:39:28 +01:00
Gwendal Roué
5dca5fe3cb
StatementArguments.append(contentsOf:) refuses to update named arguments
2016-12-15 17:38:33 +01:00
Gwendal Roué
cb08660a78
Rename FetchRequest -> Request
2016-12-08 13:56:05 +01:00
Gwendal Roué
0008e4b645
FetchedRecordsController's ObservedRequest adopts TypedFetchRequest
2016-12-07 22:39:53 +01:00
Gwendal Roué
89e7a62d99
Introduce AnyFetchRequest, TypedFetchRequest, AnyTypedFetchRequest
2016-12-07 22:21:19 +01:00
Gwendal Roué
74e89c542a
Cleanup
2016-12-07 18:45:14 +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é
527aed0ea3
Documentation
2016-11-29 14:17:41 +01:00
Gwendal Roué
87024f0426
QueryInterfaceSelectQueryDefinition.makeDeleteStatement() throws
2016-11-27 15:26:23 +01:00