Commit Graph
241 Commits
Author SHA1 Message Date
Gwendal Roué c07f7475ae Cleanup 2016-01-17 18:02:31 +01:00
Gwendal Roué f7874bd745 Fix DatabaseValue.hashValue 2016-01-17 14:28:29 +01:00
Gwendal Roué 2106d025a5 Cleanup 2016-01-17 10:16:59 +01:00
Gwendal Roué 46a767249c Cleanup 2016-01-16 19:01:29 +01:00
Gwendal Roué 8f50593aa8 Cleanup 2016-01-16 18:54:53 +01:00
Gwendal Roué 8da1812502 Cleanup 2016-01-16 18:29:59 +01:00
Gwendal Roué f2b59e06b2 Cleanup 2016-01-16 16:50:01 +01:00
Gwendal Roué a158f63b4d Cleanup 2016-01-16 16:04:20 +01:00
Gwendal Roué 995d3a4493 Cleanup 2016-01-16 15:23:02 +01:00
Gwendal Roué 2fae115531 Cleanup 2016-01-16 15:13:51 +01:00
Gwendal Roué 9bf81ef702 Don’t install transaction observer hooks unless there is at least one observer 2016-01-16 14:33:46 +01:00
Gwendal Roué 5ed2d4a1af Cleanup 2016-01-16 14:21:45 +01:00
Gwendal Roué a9792880e8 Cleanup 2016-01-16 14:08:21 +01:00
Gwendal Roué d97f9c79ee propagateDatabaseWillCommit -> wilCommit, etc 2016-01-15 19:20:27 +01:00
Pascal Edmond b29869e0cd Database Transaction Observation : allow multiple observers 2016-01-15 14:56:22 +01:00
Pascal Edmond 56406d6ca5 WIP : Welcome FetchedRecordsController 2016-01-15 14:53:54 +01:00
Gwendal Roué 706f936831 Database.swift organization 2016-01-15 09:17:27 +01:00
Gwendal Roué 5d9363a61d Database.swift organization 2016-01-15 09:14:41 +01:00
Gwendal Roué 474b28366b Improve names of PrimaryKey enum cases 2016-01-15 08:35:08 +01:00
Gwendal Roué f7d4376147 Minor 2016-01-15 08:23:35 +01:00
Gwendal Roué 0a8111a34d Dictionary(sequence) documentation 2016-01-15 08:22:55 +01:00
Gwendal Roué a384051942 Remove all DatabaseValue initializers, but the low-level ones 2016-01-14 19:58:19 +01:00
Gwendal Roué 693add8df9 Drop too optimistic OptimisticDictionary 2016-01-14 18:14:45 +01:00
Gwendal Roué 2ec05fea85 Minor 2016-01-14 13:46:23 +01:00
Gwendal Roué 6655b28810 Minor 2016-01-14 10:12:42 +01:00
Gwendal Roué cb89cde5f4 ShortDictionary behaves as a dictionary, but compares keys one by one 2016-01-14 10:02:50 +01:00
Gwendal Roué 5632e15006 Expose Statement.unsafeSetArguments() 2016-01-14 08:53:48 +01:00
Gwendal Roué 38cc0b14ce StatementArguments Documentation 2016-01-14 06:20:45 +01:00
Gwendal Roué 20b68c76fd Document StatementArguments initializer from any sequence of (key, value) pairs 2016-01-13 22:11:57 +01:00
Gwendal Roué b2eec3cba7 Minor 2016-01-13 21:40:46 +01:00
Gwendal Roué 7053632a72 Improve performance of binding named values 2016-01-13 21:26:26 +01:00
Gwendal Roué 373f457b2c Improve performance of Record.insert() 2016-01-13 09:04:17 +01:00
Gwendal Roué 98cc352856 Improve performance of Row.value(named:) 2016-01-13 08:28:44 +01:00
Gwendal Roué 5c5397bf50 Minor 2016-01-12 13:24:14 +01:00
Gwendal Roué 338197ba3f Remove support for partial update 2016-01-11 07:36:02 +01:00
Gwendal Roué 20d8b00ccf Doumentation 2016-01-10 19:03:56 +01:00
Gwendal Roué f6f991a2cb Statement arguments mismatch is always a programming error that crashes. 2016-01-10 19:03:06 +01:00
Gwendal Roué 20c524d78c Statement.unsafeSetArguments() for dictionaries 2016-01-10 16:18:20 +01:00
Gwendal Roué 9bae2577a2 DatabasePersistable opts out arguments validation, and caches SQL queries 2016-01-10 15:58:20 +01:00
Gwendal Roué a8560c8fe1 Cache primary keys information 2016-01-10 15:57:44 +01:00
Gwendal Roué 01c21d8bb5 Improve Record.hasPersistentChangedValues = false performance 2016-01-10 15:56:44 +01:00
Gwendal Roué 5c7fa7e85a Statement: don’t validate arguments unless necessary 2016-01-10 15:55:30 +01:00
Gwendal Roué 6714e2bc7b DatabasePersistable uses the experimental support for prepared statement cache 2016-01-10 14:13:51 +01:00
Gwendal Roué 8c07d610ec Experimental support for prepared statement cache 2016-01-10 14:12:38 +01:00
Gwendal Roué 9f0b7df490 Compare insertion performance with FMDB & SQLite.swift 2016-01-09 13:30:05 +01:00
Gwendal Roué 569166d836 Documentation 2016-01-09 11:40:41 +01:00
Gwendal Roué ebef2f0647 Minor 2016-01-09 07:29:55 +01:00
Gwendal Roué 87ab0f55d8 DatabasePersistable.update accepts an optional list of columns to be updated. 2016-01-08 14:27:30 +01:00
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