Commit Graph
11428 Commits
Author SHA1 Message Date
Gwendal Roué 66bedf46a1 #147: DatabaseCursor.enumerated() 2016-11-26 15:19:40 +01:00
Gwendal Roué a196ac03b1 #147: tests for DatabaseCursor.filter, forEach, map, reduce; dropped DatabaseCursor.enumerated since it can't be implemented yet 2016-11-26 14:39:09 +01:00
Gwendal Roué ae1010166a #147: record.exists(_:) can now throw a database error 2016-11-26 11:36:07 +01:00
Gwendal Roué a548212f27 #147: tests for QueryInterfaceRequest.fetchCursor(_:) and (RowConvertible & TableMapping).fetchCursor(_:) 2016-11-26 11:20:35 +01:00
Gwendal Roué 1aeb6d0d9e bugfix 2016-11-26 11:13:36 +01:00
Gwendal Roué 612c963105 TODO 2016-11-26 10:23:41 +01:00
Gwendal Roué 173a60eac6 bugfix 2016-11-26 10:23:36 +01:00
Gwendal Roué 8411efc8ef #147: tests for RowConvertible.fetchCursor(_:keys:) methods 2016-11-26 10:19:56 +01:00
Gwendal Roué af8fe35222 #147: tests for RowConvertible.fetchCursor() methods 2016-11-26 09:52:54 +01:00
Gwendal Roué a0e5f64ddf #147: tests for StatementColumnConvertible.fetchCursor() methods 2016-11-26 09:37:50 +01:00
Gwendal Roué c80f0d317a #147: Array(cursor) initialiser; base all fetchAll and fetchOne methods on fetchCursor. 2016-11-26 09:13:39 +01:00
Gwendal Roué e5a9159282 #147: tests for DatabaseValueConvertible.fetchCursor() methods 2016-11-26 08:46:57 +01:00
Gwendal Roué 8215791051 cleanup 2016-11-26 08:37:53 +01:00
Gwendal Roué ab62abed79 #147: use cursor 2016-11-26 08:29:51 +01:00
Gwendal Roué b31356aada #147: Database.tableExists(_:) and Database.indexes(on:) can now throw database errors 2016-11-26 08:28:32 +01:00
Gwendal Roué b0db219aeb #147: Rename DatabaseCursor.step() into next 2016-11-26 08:20:26 +01:00
Gwendal Roué 20a7c550fe DatabaseCursor.enumerated, filter, forEach, map, reduce are public. Once DatabaseCursor.step() has returned nil, all subsequent calls return nil. (addresses #147) 2016-11-26 07:37:34 +01:00
Gwendal Roué 2eb190dbbb Base DatabaseSequence on DatabaseCursor (addresses #147) 2016-11-26 00:56:37 +01:00
Gwendal Roué d97360ef52 DatabaseCursor.enumerated, filter, forEach, map, reduce (addresses #147) 2016-11-25 19:12:36 +01:00
Gwendal Roué fab64c61c4 Add DatabaseCursor to CHANGELOG, fix FTS5, and some TODO (addresses #147) 2016-11-25 18:43:41 +01:00
Gwendal Roué b9fea2ea12 Introduce DatabaseCursor (addresses #147)
let cursor = try Row.fetchCursor(db, "SELECT * FROM persons)
while let row = try cursor.step() { ... }
2016-11-25 18:34:16 +01:00
Gwendal Roué adc4ae48d6 Test DatabaseSequence<Row>.map 2016-11-25 08:11:26 +01:00
Gwendal Roué e7549a2887 Documentation 2016-11-25 05:47:12 +01:00
Gwendal Roué f28507a366 Merge branch 'master' of github.com:groue/GRDB.swift 2016-11-24 20:02:17 +01:00
Gwendal Roué a1b2c011f5 Performance tests against Realm v2.1.0 and Swift 3.0.1 2016-11-24 19:00:33 +01:00
Gwendal Roué b8ee051f8f TODO.md 2016-11-24 10:18:34 +01:00
Gwendal Roué 06e34c88b5 TODO.md 2016-11-24 10:14:33 +01:00
Gwendal Roué 9866b92405 Documentation 2016-11-23 20:42:33 +01:00
Gwendal Roué d1846217fd Documentation 2016-11-23 20:41:16 +01:00
Gwendal Roué aa82f3637b Documentation 2016-11-23 18:15:55 +01:00
Gwendal Roué 731684f22f Documentation 2016-11-23 18:07:05 +01:00
Gwendal Roué 48b84270c4 Documentation 2016-11-23 18:06:18 +01:00
Gwendal Roué acc4bbf628 Documentation 2016-11-23 17:21:37 +01:00
Gwendal Roué 1718c3bc16 New FAQ entry: Compilation takes a long time 2016-11-23 17:20:18 +01:00
Gwendal Roué 235fa57423 FetchedRecordsController cleanup 2016-11-23 12:48:28 +01:00
Gwendal Roué 90f0ebde1d FetchedRecordsController cleanup 2016-11-23 09:26:09 +01:00
Gwendal Roué e016725814 FetchedRecordsController cleanup 2016-11-23 08:54:02 +01:00
Gwendal Roué 3f449a40ad FetchedRecordsController cleanup 2016-11-23 08:12:58 +01:00
Gwendal Roué e92726bdb3 Documentation 2016-11-23 05:23:44 +01:00
Gwendal Roué 45fe70d8ed Documentation 2016-11-23 04:56:28 +01:00
Gwendal Roué e833e5d86d Documentation 2016-11-23 04:51:53 +01:00
Gwendal Roué 3dff5cb99f Documentation 2016-11-23 04:41:32 +01:00
Gwendal Roué 666d09e296 Documentation 2016-11-23 04:41:03 +01:00
Gwendal Roué 6e1e49a185 Documentation 2016-11-23 04:39:34 +01:00
Gwendal Roué 15c13ece27 Documentation 2016-11-22 19:46:16 +01:00
Gwendal Roué 754efefd32 Documentation 2016-11-22 19:44:26 +01:00
Gwendal Roué f81e69f73c TODO: check https://github.com/wokalski/Diff.swift 2016-11-22 16:05:37 +01:00
Gwendal Roué dd8e73e8f2 Documentation 2016-11-22 08:47:43 +01:00
Gwendal Roué 660520b939 Documentation 2016-11-21 20:35:05 +01:00
Gwendal Roué a1c3096556 Documentation 2016-11-21 09:15:10 +01:00