Commit Graph
28 Commits
Author SHA1 Message Date
Gwendal Roué 6ed8d61380 RowModel no longer requires subclasses to declare the primary key. 2015-09-05 17:30:32 +02:00
Gwendal Roué d4a3d110c8 Move the decision to use SQLITE_OPEN_NOMUTEX to the DatabaseQueue class. 2015-09-05 15:47:29 +02:00
Gwendal Roué cb68bb4b2a Remove license prefix in Swift files 2015-09-04 16:35:54 +02:00
Gwendal Roué fe547d7128 DatabaseQueue.inTransaction() is now declared as rethrows. 2015-08-25 08:23:05 +02:00
Gwendal Roué dbc98184aa Clean up 2015-07-31 11:06:16 +02:00
Gwendal Roué 64a7195bba Break retain cycles introduced by lazy properties 2015-07-22 13:44:01 +02:00
Gwendal Roué d76a79d0d6 Document throwing methods with the new - throws: comment 2015-07-21 23:21:36 +02:00
Gwendal Roué 3dd08dd803 Declare DatabaseQueue.inDatabase() as rethrows. 2015-07-12 16:23:42 +02:00
Gwendal Roué 9e9eced691 Documentation WIP 2015-07-11 07:21:33 +02:00
Gwendal Roué 979026616e Documentation WIP 2015-07-11 06:51:56 +02:00
Gwendal Roué ff6e25937e Rename SQLiteXXX types DatabaseXXX 2015-07-08 19:34:17 +02:00
Gwendal Roué 0fb7fb7d06 Documentation WIP 2015-07-06 12:43:40 +02:00
Gwendal Roué 3587ae435c Hide Database.configuration behind DatabaseQueue.configuration 2015-07-06 12:31:43 +02:00
Gwendal Roué 05c906a551 Documentation WIP 2015-07-05 11:16:00 +02:00
Gwendal Roué 8a9620e0d6 Documentation WIP 2015-07-05 11:13:38 +02:00
Gwendal Roué 187eebd6b2 DatabaseQueue is a final class 2015-07-05 06:12:45 +02:00
Gwendal Roué aa026c6dd2 MIT license 2015-07-05 06:06:48 +02:00
Gwendal Roué c2db2dc8d0 Initializing an In-memory database queues doesn’t throw. 2015-07-04 19:01:14 +02:00
Gwendal Roué c831a0a4b3 Rename DatabaseConfiguration to Configuration, add Configuration.readonly, and replace Configuration.verbose flag with customizable Configuration.trace function. 2015-07-04 18:42:21 +02:00
Gwendal Roué adbe09d6d3 In-Memory database 2015-07-04 18:00:08 +02:00
Gwendal Roué 657d534b01 Improve Xcode autocompletion of generic functions by exposing the expected generic type 2015-07-03 10:50:43 +02:00
Gwendal Roué 343a239905 Functions that fetch no longer throw (they crash), but the low-level Database.selectStatement(_:bindings:unsafe:). 2015-07-02 12:27:11 +02:00
Gwendal Roué 13817d864d Fetch rationalization 2015-07-02 12:24:03 +02:00
Gwendal Roué 32e856b071 Guard against invalid use of database queues 2015-07-01 19:19:07 +02:00
Gwendal Roué 17d7c28f70 inTransaction takes a block that should return .Commit or .Rollback 2015-07-01 14:11:24 +02:00
Gwendal Roué 1e023dbf7c DatabaseMigrator 2015-07-01 09:12:31 +02:00
Gwendal Roué baa609360c DatabaseConfiguration 2015-07-01 08:31:29 +02:00
Gwendal Roué 3d8bfc04b0 DatabaseQueue 2015-07-01 08:22:10 +02:00