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
David Hart
898db8b7d4
fix Record getting the default implementation of persistenceConflictPolicy
2017-02-22 19:33:22 +01:00
Gwendal Roué
7c6197b1fc
TODO: don't use fts3tokenize before SQLite 3.7.17
2017-02-01 13:31:36 +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é
4968100420
Expose DatabaseMigrator.registerMigrationWithDisabledForeignKeyChecks to GRDBCipher and GRDBCustomSQLite
2017-01-22 14:37:14 +01:00
Gwendal Roué
f0758e2a6c
Darn
2017-01-20 14:02:27 +01:00
Gwendal Roué
9f212184fd
FetchedRecordsController.allowBackgroundChangesTracking(in:)
2017-01-20 12:16:14 +01:00
Gwendal Roué
1c16d4bd3f
Merge branch 'BackgroundFetchedRecordsController' of github.com:groue/GRDB.swift
2017-01-20 12:07:19 +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é
fdf33cbf81
Experimental: FetchedRecordsController.allowBackgroundTracking
2017-01-17 15:01:14 +01:00
Gwendal Roué
bcdcceb809
Cleanup
2017-01-10 13:38:51 +01:00
Gwendal Roué
c5f3aa21b3
FetchedRecordsController documentation
2017-01-10 13:05:17 +01:00
Gwendal Roué
9831b0e3d4
FetchedRecordsController.setRequest() uses TypedRequest
2017-01-10 08:23:09 +01:00
Gwendal Roué
14dca4667a
Simplify FetchedRecordsController callbacks API
2017-01-06 08:40:09 +01:00
Gwendal Roué
ebff14adac
Cleanup
2017-01-06 08:24:50 +01:00
Gwendal Roué
51f02ed46e
Move TableMapping.primaryKeyFunction and primaryKeyRowComparator into TableMapping.swift
2017-01-06 08:19:07 +01:00
Gwendal Roué
03740d0918
Remove FetchedRecordsController compareRecordsByPrimaryKey initializer option
2017-01-06 08:16:57 +01:00
Gwendal Roué
c83a16e22e
FetchedRecordsController initialisers use TypedRequest
2017-01-06 08:12:14 +01:00
Gwendal Roué
d866bc9044
Row adopts Hashable
2017-01-04 06:52:57 +01:00
Kevin Wooten
f368af3d02
Support “TableViewEvent” on all all platforms
...
* TableViewEvent features of FetchedRecordsController supported on all platforms
* Renamed TableViewEvent to FetchedRecordsChangeEvent
* Renamed TableViewChange to FetchedRecordsChange
2016-12-30 00:30:23 -07: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é
2fe89fc41b
Documentation
2016-12-28 13:05: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é
ed4826a67f
FetchedRecordsController error handling
2016-12-16 19:46:12 +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