Gwendal Roué
|
868636f313
|
Prefer SQLITE_MISUSE for statement argument validation errors
|
2016-01-08 13:48:33 +01:00 |
|
Gwendal Roué
|
0345d482b2
|
Statement.arguments is a non-optional StatementArguments. Remove StatementArguments.Default.
|
2016-01-08 10:33:30 +01:00 |
|
Gwendal Roué
|
ddf0b5de70
|
Update CrashTests.swift, and add GRDBOSXCrashTests target which runs crash tests only.
|
2016-01-07 14:11:30 +01:00 |
|
Gwendal Roué
|
ba67031ca0
|
Minor
|
2016-01-07 08:47:55 +01:00 |
|
Gwendal Roué
|
589647ca20
|
Robustness of Database.execute() with multiple statements. Remove Database.executeMultiStatement() introduced by #6.
|
2016-01-07 07:37:13 +01:00 |
|
Gwendal Roué
|
aad3d5efa5
|
Database.execute() now accepts multiple statements
|
2016-01-06 23:37:35 +01:00 |
|
Gwendal Roué
|
04d7c2b511
|
Methods that build prepared statement can now throw an error.
|
2015-12-28 21:29:29 +01:00 |
|
Gwendal Roué
|
dcc4b303f9
|
Database now traces all SQL statements, including setup statements.
|
2015-12-28 21:15:47 +01:00 |
|
Gwendal Roué
|
f8ad2f2f6a
|
Use precondition() when validating user input
|
2015-12-17 10:23:19 +01:00 |
|
Gwendal Roué
|
5dc22f6dd7
|
More compliance to Swift 3 API Design Guidelines
|
2015-12-16 12:09:04 +01:00 |
|
Gwendal Roué
|
93e7dc8709
|
Make DatabaseValueConvertible a subprotocol of RowConvertible. Drop RowConvertible dictionary initializers.
|
2015-12-14 06:48:38 +01:00 |
|
Gwendal Roué
|
1f3f2d04eb
|
Instead of disabling schema cache throughout the migrations, clear the schema cache after each migration.
|
2015-12-11 13:05:10 +01:00 |
|
Gwendal Roué
|
e9c55f47c6
|
Database.clearSchemaCache(). Migrations are run with disabled schema cache.
|
2015-12-10 14:24:55 +01:00 |
|
Gwendal Roué
|
bb9117bdb6
|
Better collation implementation
|
2015-12-02 08:48:55 +01:00 |
|
Gwendal Roué
|
da525b1856
|
Fix collations: sqlite does not provide \0 terminated C strings, but UTF8 buffers.
|
2015-12-02 08:29:55 +01:00 |
|
Gwendal Roué
|
bf48bd6ac2
|
Remove a bunch of self.
|
2015-12-01 09:07:55 +01:00 |
|
Gwendal Roué
|
0be1117bd0
|
Collations WIP
|
2015-11-20 14:17:33 +01:00 |
|
Gwendal Roué
|
186732fb05
|
Collations WIP
|
2015-11-20 14:12:03 +01:00 |
|
Gwendal Roué
|
5f0f6745a8
|
Functions
|
2015-11-19 14:01:47 +01:00 |
|
Gwendal Roué
|
6afcc59c05
|
Documentation
|
2015-11-19 08:29:05 +01:00 |
|
Gwendal Roué
|
aad7218df6
|
Functions
|
2015-11-19 08:06:41 +01:00 |
|
Gwendal Roué
|
23a9322e5e
|
Functions
|
2015-11-18 22:20:55 +01:00 |
|
Gwendal Roué
|
a84014402b
|
Functions
|
2015-11-18 20:54:18 +01:00 |
|
Gwendal Roué
|
865431c58a
|
Functions
|
2015-11-18 18:18:31 +01:00 |
|
Gwendal Roué
|
1e3d9f16df
|
StatementArguments.Default is used in place of nil for default parameter values.
|
2015-11-13 11:46:25 +01:00 |
|
Gwendal Roué
|
b7147ba64c
|
TransactionObserverType methods are no longer optional.
|
2015-11-05 14:37:39 +01:00 |
|
Gwendal Roué
|
136a9fe6f6
|
Database.inTransaction()
|
2015-11-04 22:31:19 +01:00 |
|
Gwendal Roué
|
e4f10c8beb
|
Better fetch() vs. fetchAll() documentation and runtime warning.
|
2015-10-29 08:48:28 +01:00 |
|
Gwendal Roué
|
18306fcd64
|
Use /// for documentation comments, since Xcode 7 has weird behavior with /**
|
2015-10-27 08:30:24 +01:00 |
|
Gwendal Roué
|
1b6015afbf
|
Cleanup
|
2015-10-15 13:12:19 +02:00 |
|
Gwendal Roué
|
aab146ad23
|
Import Foundation when required
|
2015-10-14 15:49:14 +02:00 |
|
Gwendal Roué
|
ea2c862b22
|
Expose raw SQLite connection and statement handles
|
2015-10-02 09:00:32 +02:00 |
|
Gwendal Roué
|
e5d6dcea4f
|
Update obsolete code
|
2015-10-02 08:24:33 +02:00 |
|
Gwendal Roué
|
4069ea4937
|
Documentation
|
2015-09-30 08:31:03 +02:00 |
|
Gwendal Roué
|
94408de61b
|
Use sqlite3_trace for tracing SQL
|
2015-09-30 08:15:34 +02:00 |
|
Gwendal Roué
|
a3e46f53f2
|
Fix documentation layout
|
2015-09-29 08:28:55 +02:00 |
|
Gwendal Roué
|
7f6b13d304
|
TransactionObserverType documentation
|
2015-09-28 22:23:48 +02:00 |
|
Gwendal Roué
|
64619caebc
|
TransactionObserverType implementation documentation
|
2015-09-28 20:34:32 +02:00 |
|
Gwendal Roué
|
e573713b54
|
Replace TransactionObserverType.databaseShouldCommit with databaseWillCommit
|
2015-09-28 14:08:43 +02:00 |
|
Gwendal Roué
|
1bbbc2734e
|
Give the database to TransactionObserverType.databaseDidCommit and databaseDidRollback
|
2015-09-28 13:07:04 +02:00 |
|
Gwendal Roué
|
fc8baafd1e
|
TODO
|
2015-09-28 08:59:42 +02:00 |
|
Gwendal Roué
|
6fcc986e1a
|
Refactor DatabaseTransactionDelegate into TransactionObserverType
|
2015-09-28 08:50:25 +02:00 |
|
Gwendal Roué
|
5c8d01373e
|
DatabaseTransactionDelegate documentation
|
2015-09-27 17:31:56 +02:00 |
|
Gwendal Roué
|
5e8e9da629
|
DatabaseTransactionDelegate tests
|
2015-09-27 16:23:58 +02:00 |
|
Gwendal Roué
|
1e191994f0
|
DatabaseTransactionDelegate documentation
|
2015-09-27 14:07:09 +02:00 |
|
Gwendal Roué
|
a6267a2acb
|
Experimental DatabaseTransactionDelegate
Built on top of sqlite3_update_hook, sqlite3_commit_hook and sqlite3_rollback_hook.
|
2015-09-27 13:48:21 +02:00 |
|
Gwendal Roué
|
facb6a53a9
|
Support for Busy handlers and timeout.
|
2015-09-13 15:20:53 +02:00 |
|
Gwendal Roué
|
a6916ade9b
|
Configuration.transactionType
|
2015-09-12 18:47:04 +02:00 |
|
Gwendal Roué
|
75bb735e98
|
Use fatalError() instead of precondition() so that safety checks survive Release configuration.
|
2015-09-12 14:36:06 +02:00 |
|
Gwendal Roué
|
4cbac39dfc
|
Use precondition() instead of assert() so that safety checks survive Release configuration.
|
2015-09-12 14:24:21 +02:00 |
|