Commit Graph
387 Commits
Author SHA1 Message Date
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é 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é 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é 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é 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é 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é 4e980b51ab RowConvertible documentation 2015-09-24 08:48:26 +02:00
Gwendal Roué c927faa6ad Row documentation 2015-09-24 08:45:12 +02:00
Gwendal Roué ba4a729ba9 Row documentation 2015-09-24 08:35:35 +02:00
Gwendal Roué b28f855bd4 MetalType documentation 2015-09-24 08:29:39 +02:00
Gwendal Roué 052448b2f7 Documentation 2015-09-24 08:22:02 +02:00
Gwendal Roué c05a2dbab2 DatabaseValueConvertible documentation 2015-09-24 08:10:45 +02:00
Gwendal Roué 4f5ebc1605 DatabaseValue documentation 2015-09-24 08:02:48 +02:00
Gwendal Roué d153b5e91b Documentation 2015-09-23 22:19:47 +02:00
Gwendal Roué 70b7c0d76c Delete commented code 2015-09-23 20:16:27 +02:00
Gwendal Roué 48e4cb9a0c Remove from DatabaseValue support for metal access, since it does not improve performance. 2015-09-23 19:09:23 +02:00
Gwendal Roué 9126c01a40 Refactor DatabaseValue so that it can improve extraction of MetalType. Add a performance test for Record. 2015-09-23 14:25:19 +02:00
Gwendal Roué 5789c93ad8 Simplify Blob 2015-09-23 08:51:15 +02:00
Gwendal Roué ad2bc3f2e6 Metal rows: improve speed of named column access. 2015-09-23 08:04:19 +02:00
Gwendal Roué 7c934fc77d Bring back queue safety of statement iteration. 2015-09-23 04:57:22 +02:00
Gwendal Roué 3ec12b0f9b Metal documentation WIP 2015-09-23 04:56:43 +02:00
Gwendal Roué 7622b100f3 Make Row a struct, since making it a class does not noticeably improve performances. 2015-09-22 22:44:25 +02:00
Gwendal Roué 49c9636086 Make Row a class, and introduce DatabaseSequence and DatabaseGenerator for better performance. 2015-09-22 22:37:53 +02:00
Gwendal Roué 8b46d27377 Remove metalFetch() functions, and make Row.fetch() unsafe. RowConvertible builds from metal rows. Add Row.detachedRow(). Record stores a detached row as a reference row. 2015-09-22 08:33:17 +02:00
Gwendal Roué 2da093baff Pervasive metal 2015-09-17 06:29:56 +02:00
Gwendal Roué dcbc5ef3f5 Drop obsolete MetalRow 2015-09-16 22:02:39 +02:00
Gwendal Roué 4b049eefda Row.metalFetch(), the base for future Int.metalFetch() and Person.metalFetch() 2015-09-16 21:53:35 +02:00
Gwendal Roué 1254f0e91a Non-optional Value extraction + identical Row and MetalRow look more and more similar 2015-09-16 19:55:07 +02:00
Gwendal Roué 7a9446fc20 Metal API performance is identical to FMDB's. 2015-09-16 13:54:44 +02:00
Gwendal Roué 018f76aafa FetchPerformanceTests helps comparing unsafe from safe fetch. 2015-09-16 08:56:46 +02:00
Gwendal Roué c886e4c803 Refactor SelectStatement.fetch into SelectStatement.generate 2015-09-16 06:50:48 +02:00