Gwendal Roué
|
842831d729
|
Merge branch 'master' into RequestFetchCount
|
2017-03-02 13:01:13 +01:00 |
|
Gwendal Roué
|
1b44683cfe
|
#171: cleanup
|
2017-03-02 08:21:29 +01:00 |
|
Gwendal Roué
|
a5cbf08a76
|
Documentation
|
2017-03-02 08:01:43 +01:00 |
|
Gwendal Roué
|
023fa8afc9
|
#171: Missing upgrades to the new ResultCode APIs
|
2017-03-02 07:57:02 +01:00 |
|
Gwendal Roué
|
b873162a6f
|
#171: Preserve some extended result code that were lost
|
2017-03-01 14:19:48 +01:00 |
|
Gwendal Roué
|
846604cce5
|
Merge branch 'master' into Issue171
|
2017-03-01 14:12:31 +01:00 |
|
Gwendal Roué
|
5bcfb7f488
|
#171: ~= ResultCode operator
|
2017-03-01 13:27:19 +01:00 |
|
Gwendal Roué
|
8dadf42504
|
#171: CHANGELOG
|
2017-03-01 09:13:57 +01:00 |
|
Gwendal Roué
|
fc18b15106
|
#171: Apply @hartbit's suggestion of having two DatabaseError properties: resultCode and extendedResultCode
|
2017-03-01 09:05:06 +01: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é
|
e4a346995b
|
#171: rename ResultCode.code into ResultCode.resultCode (@hartbit's suggestion)
|
2017-02-26 17:24:44 +01:00 |
|
Gwendal Roué
|
f0d1f2387d
|
#171: always use extended result codes
|
2017-02-26 15:49:14 +01:00 |
|
Gwendal Roué
|
7eb592df79
|
#171: introduce ResultCode
|
2017-02-26 15:36:21 +01:00 |
|
Gwendal Roué
|
1e0e40912b
|
GRDBiOS tests on iOS8.1
|
2017-02-01 13:28:08 +01:00 |
|
Gwendal Roué
|
4dfd672c04
|
Compound unique keys: preserve index ordering in generated SQL queries
|
2017-01-22 16:51:02 +01:00 |
|
Gwendal Roué
|
d8b64aa2f4
|
Use sqlite3_close_v2 in GRDBCipher and GRDBCustomSQLite
|
2017-01-22 16:04:10 +01:00 |
|
Gwendal Roué
|
f0758e2a6c
|
Darn
|
2017-01-20 14:02:27 +01:00 |
|
Gwendal Roué
|
519d4470e3
|
Drop Configuration.fileAttributes
|
2017-01-20 08:22:46 +01:00 |
|
Gwendal Roué
|
dbe4965438
|
DatabaseEventKind.tableName
|
2017-01-19 10:12:30 +01:00 |
|
Gwendal Roué
|
d866bc9044
|
Row adopts Hashable
|
2017-01-04 06:52:57 +01:00 |
|
Gwendal Roué
|
0f34ee7d16
|
Revert "DatabaseError.code is now Database.ResultCode"
This reverts commit 968942f128.
|
2016-12-29 13:32:29 +01:00 |
|
Gwendal Roué
|
968942f128
|
DatabaseError.code is now Database.ResultCode
|
2016-12-28 11:55:47 +01:00 |
|
Gwendal Roué
|
484b440816
|
Database.cachedSelectStatement() no longer returns a statement that can not be reused because it has already failed.
|
2016-12-21 18:59:23 +01:00 |
|
Gwendal Roué
|
4670026c92
|
Fix #157 for virtual tables
|
2016-12-21 06:06:12 +01:00 |
|
Gwendal Roué
|
302b9c2ac5
|
Fix #156 and #157
|
2016-12-21 05:44:19 +01:00 |
|
Gwendal Roué
|
000f1d02c3
|
Fix #156?
|
2016-12-20 19:17:12 +01:00 |
|
Gwendal Roué
|
e8a229103a
|
Fix #156
|
2016-12-20 06:01:28 +01:00 |
|
Gwendal Roué
|
c36be55c2f
|
FetchedRecordsController error handling WIP
|
2016-12-16 09:09:50 +01:00 |
|
Gwendal Roué
|
5355555568
|
Typo
|
2016-12-16 07:42:34 +01:00 |
|
Gwendal Roué
|
3e01bca690
|
Documentation
|
2016-12-16 05:25:18 +01:00 |
|
Gwendal Roué
|
44cefc89e4
|
Documentation for StatementArguments.append(contentsOf:) and operators +, &+, +=
|
2016-12-16 05:02:27 +01:00 |
|
Gwendal Roué
|
b737321cbd
|
Rows expressed as dictionary literals now preserve column ordering, and allow duplicated column names
|
2016-12-16 05:01:07 +01:00 |
|
Gwendal Roué
|
d4c7b41897
|
StatementArguments.append(contentsOf:) returns the updated values; operators +, &+, +=
|
2016-12-15 21:39:28 +01:00 |
|
Gwendal Roué
|
0ecf6b5aa1
|
Drop StatementArguments + StatementArguments (because it allows [1, 2] + ["foo": 1] to compile)
|
2016-12-15 17:50:56 +01:00 |
|
Gwendal Roué
|
cb51c03992
|
StatementArguments + StatementArguments
|
2016-12-15 17:47:01 +01:00 |
|
Gwendal Roué
|
5dca5fe3cb
|
StatementArguments.append(contentsOf:) refuses to update named arguments
|
2016-12-15 17:38:33 +01:00 |
|
Gwendal Roué
|
a7acd50159
|
StatementArguments.append(contentsOf:)
|
2016-12-15 17:26:23 +01:00 |
|
Gwendal Roué
|
cc89c994c8
|
Remove useless self.
|
2016-12-15 08:13:33 +01:00 |
|
Gwendal Roué
|
fc2689e207
|
Fix Pool.get when an error prevents a pool item from being created (counting semaphore wasn't signaled). This fixes DatabasePool.read when read connection can not be established. Tests.
|
2016-12-15 08:09:17 +01:00 |
|
Gwendal Roué
|
b32984b1d6
|
Document improved error handling of DatabasePool.readFromCurrentState() and support for raw BEGIN/COMMIT/ROLLBACK transaction statements
|
2016-12-15 05:11:25 +01:00 |
|
Gwendal Roué
|
7e2fd9e690
|
DatabasePool.readFromCurrentState throws if it can't acquire an isolated database access
|
2016-12-15 04:57:31 +01:00 |
|
Gwendal Roué
|
a96dac8205
|
Now that we support free BEGIN/COMMIT transaction statements, DatabaesPool.readFromCurrentState will be able to handle read errors
|
2016-12-15 04:00:00 +01:00 |
|
Gwendal Roué
|
e44bd4684b
|
Fix SerializedDatabase crash when database is deallocated in its own queue
|
2016-12-15 03:57:46 +01:00 |
|
Gwendal Roué
|
115158a70e
|
Cleanup
|
2016-12-14 20:19:10 +01:00 |
|
Gwendal Roué
|
63577feca4
|
Documentation
|
2016-12-14 18:49:11 +01:00 |
|
Gwendal Roué
|
567e6f1d82
|
TODO
|
2016-12-14 12:55:22 +01:00 |
|
Gwendal Roué
|
2b9b8ce536
|
Cleanup
|
2016-12-14 12:53:11 +01:00 |
|
Gwendal Roué
|
a0f4cb9271
|
Fix failing tests for TransactionObserver
|
2016-12-14 12:49:33 +01:00 |
|