Gwendal Roué
2289ed9d95
Cleanup Jazzy documentation from most redundant definitions and experimental APIs
2018-01-21 16:57:43 +01:00
Gwendal Roué
94715130fc
DatabaseWriter.readFromCurrentState(_:) now fails with a fatal error if a transaction is currently opened
2018-01-06 09:19:26 +01:00
Gwendal Roué
caf051f19d
Improve jazzy documentation layout
2017-10-31 13:37:48 +01:00
Gwendal Roué
3fce1e00c9
Introduce AnyDatabaseReader and AnyDatabaseWriter
2017-09-10 13:37:48 +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é
90a46f6556
Introduce TransactionObservationExtent
2017-06-20 07:54:19 +02:00
Gwendal Roué
ce4c20b112
Replace DatabaseWriter.availableDatabaseConnection with unsafeReentrantWrite()
2017-05-22 18:10:19 +02:00
Gwendal Roué
17a49b5d8c
New public property: DatabaseWriter.availableDatabaseConnection. This new API opens the door to reentrant uses of the database, a much needed tool for RxGRDB.
2017-04-06 11:02:49 +02:00
Gwendal Roué
1e362fdd53
Prefer write { $0... } over write { db in db... } for one liners
2017-03-26 17:55:06 +02:00
Gwendal Roué
28221e398e
Documentation
2016-12-02 14:23:17 +01:00
Gwendal Roué
b8d924ab6f
Restore DatabasePool in a stable state
2016-12-01 19:17:19 +01:00
Gwendal Roué
b58a4e90da
WIP DatabaseWriter/DatabaseReader improvements
2016-12-01 18:13:00 +01:00
Gwendal Roué
f781da41a4
WIP: the recent failing tests of DatabasePool.readFromCurrentState, a paramount brick of FetchedRecordsController, have led to a refactoring of the DatabaseWriter protocol, and DatabasePool.write { ... } always executing a transaction.
2016-12-01 14:12:20 +01:00
Gwendal Roué
bd32afbed2
Rename DatabaseWriter.readFromWrite to readFromCurrentState
2016-12-01 08:55:47 +01:00
Gwendal Roué
a8e266377c
Documentation
2016-11-29 12:02:29 +01:00
Gwendal Roué
268080cbc5
#147 : FetchedRecordsController.performFetch() can now throw database errors; remove work around for SR-2623
2016-11-27 08:19:43 +01:00
Gwendal Roué
195c201f87
#147 : DatabasePool.read(_:) and DatabasePool.nonIsolatedRead(_:) can now throw database errors.
2016-11-26 23:44:14 +01:00
Gwendal Roué
2bcf6a5da8
Restore FetchedRecordsController ( fixes #117 )
...
The Swift 3 compiler in Release configuration collapses when a property of type DatabaseWriter calls its rethrowing write() method. This commit introduces an ad-hoc non-rethrowing method to make the compiler happy.
2016-09-13 13:39:01 +02:00
Gwendal Roué
eac0901af0
Refactor database event filtering
2016-09-10 18:28:44 +02:00
Gwendal Roué
854c070b82
Xcode Version 8.0 beta 6 (8S201h)
2016-08-16 17:47:57 +02:00
Gwendal Roué
e785085d0d
Cleanup our code thanks to DispatchQueue.sync<T>(block: @noescape () throws -> T) rethrows.
2016-06-30 18:38:16 +02:00
Gwendal Roué
b624874768
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Core/Database.swift
GRDB/Core/DatabaseWriter.swift
GRDB/Core/Statement.swift
GRDB/FetchRequest/QueryInterfaceRequest.swift
GRDB/FetchRequest/SQLCollation.swift
GRDB/FetchRequest/SQLSelectQuery.swift
GRDB/Record/FetchedRecordsController.swift
README.md
Tests/Private/StatementInformationTests.swift
Tests/Public/Core/DatabaseValueConvertible/DatabaseValueConversionTests.swift
Tests/Public/Core/SQLiteStatementConvertible/SQLiteStatementConversionTests.swift
2016-06-21 09:03:02 +02:00
Gwendal Roué
e0ea5af18e
Refactor database events filtering
2016-06-20 20:38:31 +02:00
Gwendal Roué
7c4ff7677d
swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a
2016-06-02 08:38:15 +02:00
Gwendal Roué
4bcff181c7
Back to block-based database accesses.
...
Rationale: https://medium.com/@gwendal.roue/four-different-ways-to-handle-sqlite-concurrency-db3bcc74d00e
2016-04-08 08:29:58 +02:00
Gwendal Roué
2ec2e85679
Passing tests for encrypted databases
2016-04-03 18:42:31 +02:00
Gwendal Roué
20a16de9de
DatabaseWriter.setKey() and reKey()
2016-04-03 17:58:03 +02:00
Gwendal Roué
7b5088b921
DatabaseWriter documentation
2016-03-29 13:10:11 +02:00
Gwendal Roué
d53c7f5d2d
DatabaseWriter documentation
2016-03-29 09:08:32 +02:00
Gwendal Roué
3e3ba6e7ed
FetchedRecordsController optimization for DatabasePool: release the writer dispatch queue before the end of the fetch
2016-03-27 14:22:32 +02:00
Gwendal Roué
523d111ec6
Documentation
2016-03-12 18:02:21 +01:00
Gwendal Roué
e3ef424a41
DatabaseReader and DatabaseWriter cleanup
2016-03-12 12:00:06 +01:00