Gwendal Roué
|
df6bb8761c
|
Swiftlint + whitespace
|
2019-07-01 08:57:53 +02:00 |
|
Gwendal Roué
|
335850c5fe
|
Fix #554
|
2019-06-18 20:40:49 +02:00 |
|
Gwendal Roué
|
dc2871d5eb
|
DatabaseWriter.spawnConcurrentRead (experimental method)
|
2019-06-18 08:21:55 +02:00 |
|
Gwendal Roué
|
173c8af3ef
|
asyncConcurrentRead documentation
|
2019-06-17 19:48:25 +02:00 |
|
Gwendal Roué
|
0ad819902d
|
Tests for asyncRead, asyncWrite, asyncWriteWithoutTransaction
|
2019-06-13 13:42:31 +02:00 |
|
Gwendal Roué
|
b715ca5eb8
|
DatabaseWriter.asyncWrite
|
2019-06-13 13:20:59 +02:00 |
|
Gwendal Roué
|
bc7c3e5eb1
|
DatabaseReader.asyncRead
|
2019-06-13 08:45:49 +02:00 |
|
Gwendal Roué
|
f120632e36
|
Rename unsafeAsyncWrite to asyncWriteWithoutTransaction
Hold on: a more complete set of async APIs will come eventually.
|
2019-06-13 05:25:56 +02:00 |
|
Gwendal Roué
|
44138c433f
|
Refactor ValueObservation scheduling
|
2019-06-11 21:45:27 +02:00 |
|
Gwendal Roué
|
7183457217
|
Rename Future to DatabaseFuture
|
2019-03-14 06:43:40 +01:00 |
|
Gwendal Roué
|
db67d3840b
|
Principle of least astonishment: rrename argument label rawSQL to sql
|
2019-02-17 13:28:41 +01:00 |
|
Gwendal Roué
|
c546c578ce
|
fetchCursor/All/One(_:rawSQL:arguments:adapter:)
|
2019-02-17 13:28:40 +01:00 |
|
Gwendal Roué
|
59162d93de
|
Rename Database.execute(_:String) to Database.execute(rawSQL:String)
|
2019-02-17 13:27:54 +01:00 |
|
Gwendal Roué
|
4489106bd6
|
Remove deprecated DatabaseWriter.readFromCurrentState
|
2019-02-08 10:16:17 +01:00 |
|
Gwendal Roué
|
3eb36768c6
|
Simplify iOS memory management, assuming swift(>=4.2)
|
2019-02-07 08:25:31 +01:00 |
|
Gwendal Roué
|
f07eee3ca7
|
DispatchQueue creation cleanup
|
2018-12-01 16:22:05 +01:00 |
|
Gwendal Roué
|
ff4f6f3b12
|
Cleanup
|
2018-10-27 04:59:24 +02:00 |
|
Gwendal Roué
|
b9a878bb20
|
Cleanup
|
2018-09-11 08:56:29 +02:00 |
|
Gwendal Roué
|
9bfe893908
|
DatabaseWriter.concurrentRead replaces readFromCurrentState
|
2018-09-09 13:12:35 +02:00 |
|
Gwendal Roué
|
ff595eeaef
|
Compile with both Swift 4.1 and Swift 4.2
|
2018-08-30 16:34:30 +02:00 |
|
Gwendal Roué
|
7be6386689
|
Fix DatabaseQueue.write and unsafeReentrantRead throws/rethrows qualifier.
|
2018-08-16 08:27:05 +02:00 |
|
Gwendal Roué
|
342dcc5094
|
Confiiguration.label is used to name dispatch queues
|
2018-06-14 20:26:34 +02:00 |
|
Gwendal Roué
|
2e80db8aed
|
Database dispatch queues now have labels
|
2018-06-14 13:36:42 +02:00 |
|
Gwendal Roué
|
1bf7f67008
|
Update inline documentation with singular table names
|
2018-05-01 20:32:18 +02:00 |
|
Gwendal Roué
|
c9dc1223dd
|
Harmonize dbQueue.writer with dbPool.writer
|
2018-04-15 20:14:25 +02:00 |
|
Gwendal Roué
|
090f872e80
|
Update documentation: don't mention dbQueue.inDatabase unless necessary
|
2018-04-15 18:09:34 +02:00 |
|
Gwendal Roué
|
a46505e907
|
Cleanup
|
2018-04-15 14:30:12 +02:00 |
|
Gwendal Roué
|
d78479e4af
|
[WIP] DatabaseQueue.inDatabase runs inside a transaction
|
2018-04-13 08:56:03 +02:00 |
|
Gwendal Roué
|
563a4d5c71
|
Introduce DatabaseWriter.writeWithoutTransaction
|
2018-04-11 20:03:18 +02:00 |
|
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é
|
8a213af2ab
|
Cleanup & whitespace
|
2017-10-30 12:25:12 +01: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é
|
210939d2c1
|
SE-0169
|
2017-08-18 14:20:35 +02:00 |
|
Gwendal Roué
|
cc33b12b0d
|
DatabaseReader.unsafeReentrantRead
|
2017-07-13 09:11:21 +02:00 |
|
Gwendal Roué
|
10e669423f
|
Use the dbValue identifier for variables of type DatabaseValue
|
2017-06-01 08:35:14 +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é
|
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é
|
5c7712bf6c
|
PRAGMA query_only was added in SQLite 3.8.0 (iOS 8.2+ and OS X 10.10+)
|
2017-03-26 13:17:25 +02: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é
|
b25648eea1
|
Have DatabaseQueue implementation better expose inDatabase as its fundamental method.
|
2017-03-17 09:05:42 +01:00 |
|
Gwendal Roué
|
519d4470e3
|
Drop Configuration.fileAttributes
|
2017-01-20 08:22:46 +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é
|
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 |
|