Commit Graph
1436 Commits
Author SHA1 Message Date
Gwendal Roué f2bb8bb8af Remove DatabaseValue.value() 2017-03-24 20:05:02 +01:00
Gwendal Roué ba615c15cb Documentation, and remove DatabaseQueue.writeInTransaction 2017-03-24 18:39:14 +01:00
Gwendal Roué 88f206e7f5 New DatabaseReader.read() guarantee: database modifications are prevented 2017-03-24 09:18:24 +01:00
Gwendal Roué 5454e43bc4 Use Int(exactly:) and Int32(exactly:) initializers 2017-03-18 17:00:06 +01:00
Gwendal Roué 14c53c5e3e Have DatabasePool implementation better expose the write method and its readerPool as its fundamentals. 2017-03-17 09:06:13 +01:00
Gwendal Roué b25648eea1 Have DatabaseQueue implementation better expose inDatabase as its fundamental method. 2017-03-17 09:05:42 +01:00
Gwendal Roué 7a10486492 DatabaseError conversion to NSError preserves extended result code 2017-03-03 08:14:36 +01:00
Gwendal Roué 842831d729 Merge branch 'master' into RequestFetchCount 2017-03-02 13:01:13 +01:00
Gwendal Roué 2729892676 Merge branch 'master' into Issue171 2017-03-02 12:58:42 +01:00
Gwendal Roué 50318354a6 Merge branch 'master' into RequestFetchCount 2017-03-02 12:56:57 +01:00
Gwendal Roué deebf289de Rename DatabaseMigrator.registerMigrationWithDisabledForeignKeyChecks to registerMigrationWithDeferredForeignKeyCheck 2017-03-02 08:29:45 +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é a721748de1 #171: fix-it for DatabaseError.code 2017-03-02 07:56:48 +01:00
Gwendal Roué fe05ac9753 #171: Missing upgrades to the new ResultCode APIs 2017-03-01 14:21:14 +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
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