Commit Graph
24 Commits
Author SHA1 Message Date
Gwendal Roué cc237560c6 Fix Statement.validateArguments: StatementArguments.Default is never valid. 2015-12-02 08:29:13 +01:00
Gwendal Roué 865431c58a Functions 2015-11-18 18:18:31 +01:00
Gwendal Roué c987a0a9af Statement validates its arguments before execution, not only in arguments property setter. Nil arguments are validated as well. 2015-11-17 08:26:15 +01:00
Gwendal Roué 0cdeb09ab0 minor 2015-11-15 13:27:14 +01:00
Gwendal Roué 02f852cb89 Prevent StatementArguments.Default from being used as actual arguments 2015-11-14 13:45:41 +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é a1848e7594 Define Statement.sql as an immutable property 2015-10-26 10:36:19 +01:00
Gwendal Roué 5c1e320d97 NSData is now the type responsible for SQLite blobs. 2015-10-13 19:52:40 +02:00
Gwendal Roué ea2c862b22 Expose raw SQLite connection and statement handles 2015-10-02 09:00:32 +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é 6db9ae464c Prevent statement argument mismatch. 2015-09-24 18:58:36 +02:00
Gwendal Roué fdf7319261 SQLiteStatement documentation 2015-09-24 09:08:33 +02:00
Gwendal Roué d153b5e91b Documentation 2015-09-23 22:19:47 +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é 1254f0e91a Non-optional Value extraction + identical Row and MetalRow look more and more similar 2015-09-16 19:55:07 +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
Gwendal Roué ac7db33b61 Refactor concurrency safety checks 2015-09-12 14:21:46 +02:00
Gwendal Roué 6239955e08 Replace fatalError() with assert() when possible 2015-09-09 13:26:57 +02:00
Gwendal Roué 9ef40dcb4f SQLite error management cleanup 2015-09-09 13:11:48 +02:00
Gwendal Roué 557d4871d0 Crash tests 2015-09-09 08:38:59 +02:00
Gwendal Roué 6c4794f02c DatabaseValueConvertible redesign, and project reorganization 2015-09-06 15:23:02 +02:00