Gwendal Roué
fd7783c39d
Fix uses of throwingFirstError(execute:finally:)
2020-01-06 08:12:49 +01:00
Gwendal Roué
e5726f3993
throwingFirstError(execute:finally:)
2020-01-05 13:30:12 +01:00
Michael Kirk
cd6d46e349
move fix to private
2019-11-18 11:33:35 -07:00
Michael Kirk
9ea160b116
Fix: appliedMigrations throws error on new install
...
Before setup, the grdb_migrations table doesn't exist, so calling
`appliedMigrations` would throw an error.
To avoid this, if the table to track migrations doesn't exist yet, we can be
sure no migrations have been run, and we retun the empty set.
FIXES https://github.com/groue/GRDB.swift/issues/652
2019-11-18 09:09:46 -07:00
Gwendal Roué
725e16390b
Fix failing test for eraseDatabaseOnSchemaChange
2019-09-17 08:22:36 +02:00
Gwendal Roué
62e50b1a73
Simplify eraseDatabaseOnSchemaChange implementation
2019-09-17 08:10:28 +02:00
Gwendal Roué
bb0c11f7d5
TODO
2019-07-29 09:11:47 +02:00
Gwendal Roué
df6bb8761c
Swiftlint + whitespace
2019-07-01 08:57:53 +02: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é
a230fe400d
Availability checks: assume iOS >= 9.0
2019-02-07 08:52:38 +01:00
Gwendal Roué
3593806685
Cleanup
2018-07-07 14:49:43 +02:00
Gwendal Roué
fee4486d1b
DatabaseMigrator.eraseDatabaseOnSchemaChange
2018-07-07 14:23:50 +02:00
Gwendal Roué
1bf7f67008
Update inline documentation with singular table names
2018-05-01 20:32:18 +02:00
Gwendal Roué
b8fc762e11
Cleanup
2018-04-21 19:28:58 +02:00
Gwendal Roué
bd2f17ee10
Fixes needed by DatabasePool/Writer.writeWithoutTransaction
2018-04-12 07:58:01 +02:00
Gwendal Roué
c7ad3ef4a9
DatabaseMigrator.appliedMigrations(in:) doc & changelog
2018-03-15 20:15:23 +01:00
Gwendal Roué
fa8ed89eae
DatabaseMigrator.appliedMigrations(_:)
2018-03-15 20:10:59 +01:00
Gwendal Roué
2289ed9d95
Cleanup Jazzy documentation from most redundant definitions and experimental APIs
2018-01-21 16:57:43 +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é
823b094b60
SE-0168
2017-08-18 14:22:14 +02:00
Gwendal Roué
0c192fcb57
DatabaseMigrator.migrate(_:upTo:)
2017-06-20 07:54:19 +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é
dae4ae1c6b
Reduce internal coupling
2017-04-22 11:12:43 +02:00