Commit Graph
400 Commits
Author SHA1 Message Date
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é 20aca8c8a5 v0.21.0 2015-10-01 08:55:36 +02:00
Gwendal Roué 1a640c2f10 Improve value conversion error reporting 2015-10-01 08:51:55 +02:00
Gwendal Roué 44179897b8 Int32 and Int64 enums support 2015-10-01 08:28:34 +02:00
Gwendal Roué b42b7fd831 RowConvertible.awakeFromFetch(_) is declared as mutating. 2015-10-01 08:18:31 +02:00
Gwendal Roué 6579e016e0 Row.hasColumn(_) 2015-10-01 06:36:17 +02:00
Gwendal Roué df2d4da51d RowConvertible.init(dictionary:) 2015-09-30 23:08:07 +02:00
Gwendal Roué c3a705493c Improve Row.value(named:) error reporting when column name is invalid 2015-09-30 22:14:11 +02:00
Gwendal Roué f869a6cdb9 Fix Foundation support for Row and StatementArguments 2015-09-30 22:13:18 +02:00
Gwendal Roué 5289492ec6 Row support for NSDictionary 2015-09-30 21:39:05 +02:00
Gwendal Roué 0830bc0657 Documentation 2015-09-30 08:35:53 +02:00
Gwendal Roué 1474c41842 LogSQL() logs "SQLite" instead of "GRDB ». 2015-09-30 08:31:32 +02:00
Gwendal Roué 4069ea4937 Documentation 2015-09-30 08:31:03 +02:00
Gwendal Roué 90d9e8391b Simplify grdb_migrations table 2015-09-30 08:16:32 +02:00
Gwendal Roué 94408de61b Use sqlite3_trace for tracing SQL 2015-09-30 08:15:34 +02:00
Gwendal Roué 9c6c30571a v0.20.0 2015-09-29 21:48:33 +02:00
Gwendal Roué d0e5c8b115 Record.update(_) always execute an UPDATE statement
Even if there is no column to update, for tables made of a single primary key column. The goal is to make sure that TransitionObserverType can observe all updates, event updates from minimal tables.
2015-09-29 18:36:14 +02:00
Gwendal Roué 28891e2064 Support for NSURL 2015-09-29 12:51:12 +02:00
Gwendal Roué 6f5326b38d NSURL WIP 2015-09-29 08:37:01 +02:00
Gwendal Roué a3e46f53f2 Fix documentation layout 2015-09-29 08:28:55 +02:00
Gwendal Roué d32343e027 Fix typo 2015-09-29 08:23:44 +02:00
Gwendal Roué af1702a973 Fix typo 2015-09-29 08:22:38 +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é 13953b5404 v0.19.0 2015-09-28 08:51:54 +02:00
Gwendal Roué 6fcc986e1a Refactor DatabaseTransactionDelegate into TransactionObserverType 2015-09-28 08:50:25 +02:00
Gwendal Roué 109f22ef85 DatabaseEvent documentation 2015-09-27 18:38:45 +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é a4664a4fcf v0.18.0 2015-09-26 19:05:02 +02:00
Gwendal Roué 16f3c8c9d3 DatabaseValue.dataNoCopy 2015-09-26 18:52:41 +02:00
Gwendal Roué 1de7d70eac Support for efficient NSData handling. 2015-09-26 18:41:18 +02:00
Gwendal Roué 6a62ed6a53 @warn_unused_result Record.copy() 2015-09-26 11:56:17 +02:00
Gwendal Roué ff9b2c8bda Fetch sequences of optional or non-optional values. 2015-09-25 08:31:29 +02:00
Gwendal Roué 8c508ef9a9 Fetch sequences of optional or non-optional values. 2015-09-25 06:38:33 +02:00
Gwendal Roué d11d6fa492 Make Row a final class. 2015-09-24 18:58:47 +02:00
Gwendal Roué 6db9ae464c Prevent statement argument mismatch. 2015-09-24 18:58:36 +02:00
Gwendal Roué cb1adfcb3f v0.17.0 2015-09-24 13:08:48 +02:00
Gwendal Roué 5c13660022 Rename MetalType -> SQLiteStatementConvertible 2015-09-24 09:12:30 +02:00
Gwendal Roué fdf7319261 SQLiteStatement documentation 2015-09-24 09:08:33 +02:00
Gwendal Roué 8aa5ca0119 DatabaseSequence documentation 2015-09-24 09:08:00 +02:00
Gwendal Roué 537d9dd087 Record documentation 2015-09-24 08:50:19 +02:00
Gwendal Roué 4e980b51ab RowConvertible documentation 2015-09-24 08:48:26 +02:00
Gwendal Roué c927faa6ad Row documentation 2015-09-24 08:45:12 +02:00