Gwendal Roué
|
67035b8422
|
Database.execute(_:) iterates all rows of statements
|
2016-12-02 08:28:24 +01:00 |
|
Gwendal Roué
|
b8d924ab6f
|
Restore DatabasePool in a stable state
|
2016-12-01 19:17:19 +01:00 |
|
Gwendal Roué
|
f781da41a4
|
WIP: the recent failing tests of DatabasePool.readFromCurrentState, a paramount brick of FetchedRecordsController, have led to a refactoring of the DatabaseWriter protocol, and DatabasePool.write { ... } always executing a transaction.
|
2016-12-01 14:12:20 +01:00 |
|
Gwendal Roué
|
019363e56b
|
Failing tests for DatabasePool.read
|
2016-12-01 10:44:18 +01:00 |
|
Gwendal Roué
|
d801f1f5fb
|
Failing test for DatabasePool.readFromCurrentState
|
2016-12-01 08:56:04 +01:00 |
|
Gwendal Roué
|
6bcab179d1
|
Classify all try! and fatalError into TODO, Programmer Error, or GRDB bug that needs to be fixed.
|
2016-11-30 08:56:45 +01:00 |
|
Gwendal Roué
|
f495edfb3a
|
Improve Cursor test coverage
|
2016-11-29 21:11:12 +01:00 |
|
Gwendal Roué
|
0c4fb36827
|
Add RowFetchTests
|
2016-11-28 20:48:38 +01:00 |
|
Gwendal Roué
|
ec2017ff72
|
Cursor.enumerated, filter, flatMap, map now return cursors. Cursor.lazy returns a lazy sequence. Introduce AnyCursor. Force Cursor types to be classes.
|
2016-11-28 20:34:53 +01:00 |
|
Gwendal Roué
|
bbe0bfadd9
|
#147: fetchCursor, fetchAll & fetchOne all throw sqlite3_prepare_v2 errors, sqlite3_step errors, and conversion errors (for DatabaseValueConvertible)
|
2016-11-27 20:13:58 +01:00 |
|
Gwendal Roué
|
ebf9b0e4f1
|
Simplify tests for RowConvertible fetch requests
|
2016-11-27 18:44:54 +01:00 |
|
Gwendal Roué
|
b85a8b8b0b
|
#147: DatabaseValueConvertible.fetchOne() can throw conversion errors
|
2016-11-27 18:21:04 +01:00 |
|
Gwendal Roué
|
ac6c7f6a35
|
#147: fetchAll() and fetchOne() can now throw database errors.
|
2016-11-26 22:38:40 +01:00 |
|
Gwendal Roué
|
af6e31dcdf
|
#147: The fetch method have been removed, along with DatabaseSequence and DatabaseIterator.
|
2016-11-26 21:14:10 +01:00 |
|
Gwendal Roué
|
81504bba1e
|
#147: DatabaseCursor.flatMap()
|
2016-11-26 16:10:39 +01:00 |
|
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é
|
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é
|
e5a9159282
|
#147: tests for DatabaseValueConvertible.fetchCursor() methods
|
2016-11-26 08:46:57 +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é
|
adc4ae48d6
|
Test DatabaseSequence<Row>.map
|
2016-11-25 08:11:26 +01:00 |
|
Gwendal Roué
|
dcb995c626
|
Fix compiler warning
|
2016-11-10 08:32:23 +01:00 |
|
Gwendal Roué
|
5f15a0f555
|
Improve test coverage
|
2016-10-08 16:30:08 +02:00 |
|
Gwendal Roué
|
c46238301a
|
Improve test coverage
|
2016-10-08 16:04:30 +02:00 |
|
Gwendal Roué
|
7c282d28df
|
Improve test coverage
|
2016-10-08 15:44:11 +02:00 |
|
Gwendal Roué
|
12dbafd0c9
|
Improve test coverage
|
2016-10-08 14:56:17 +02:00 |
|
Gwendal Roué
|
3c822399b1
|
Restore DatabaseValue.description into its previous behavior, and test that \n or \t are described as "\\n" and "\\t" (avoid multi-line DatabaseValue description)
|
2016-10-08 14:38:30 +02:00 |
|
Gwendal Roué
|
7968c1dcd2
|
Fix warnings
|
2016-10-08 12:59:34 +02:00 |
|
Gwendal Roué
|
b9180798ca
|
Tests for delete(db) return value
|
2016-10-08 12:53:35 +02:00 |
|
Gwendal Roué
|
0da1a293e6
|
Update tests for error descriptions that include argument literals, since DatabaseValue.description now returns the SQL literal representation of the value
|
2016-10-08 12:17:49 +02:00 |
|
Gwendal Roué
|
b8ab30fc22
|
DatabaseValue.description now returns the SQL literal representation of the value
|
2016-10-08 11:51:10 +02:00 |
|
Gwendal Roué
|
41935d8b48
|
Code cleanup
|
2016-10-05 14:13:57 +02:00 |
|
Gwendal Roué
|
5ba06a74a0
|
Remove support for text encodings
|
2016-09-28 07:14:22 +02:00 |
|
Gwendal Roué
|
5a572b25a0
|
Refactor the query interface types to enhance extensibility
|
2016-09-27 23:11:21 +02:00 |
|
Gwendal Roué
|
e7378cbba0
|
Test that the truncate optimization does not prevent transaction observers from observing individual deletions
|
2016-09-22 07:45:32 +02:00 |
|
Gwendal Roué
|
dc58ff19d4
|
Clarification the behavior of the REPLACE conflict handling regarding transaction observers
|
2016-09-22 07:44:43 +02:00 |
|
Gwendal Roué
|
7bce331eb1
|
Clarification the behavior of the REPLACE conflict handling regarding transaction observers
|
2016-09-22 06:48:18 +02:00 |
|
Gwendal Roué
|
0c525a8e52
|
Only the IGNORE conflict policy invalidates the last inserted rowID (#118)
|
2016-09-16 19:37:14 +02:00 |
|
Gwendal Roué
|
4ac562a55a
|
Fixes #118
|
2016-09-16 13:52:43 +02:00 |
|
Gwendal Roué
|
f573046107
|
Merge branch 'Swift2.3' of github.com:groue/GRDB.swift
Conflicts:
CHANGELOG.md
GRDB.swift.podspec
GRDB/Core/DatabaseValue.swift
GRDB/Core/Row.swift
GRDB/Core/RowAdapter.swift
GRDB/Record/Record.swift
README.md
Support/Info.plist
Tests/Public/Core/DatabaseValue/DatabaseValueTests.swift
Tests/Public/Record/MinimalPrimaryKeyRowIDTests.swift
Tests/Public/Record/MinimalPrimaryKeySingleTests.swift
Tests/Public/Record/PrimaryKeyMultipleTests.swift
Tests/Public/Record/PrimaryKeyRowIDTests.swift
Tests/Public/Record/PrimaryKeySingleTests.swift
Tests/Public/Record/PrimaryKeySingleWithReplaceConflictResolutionTests.swift
|
2016-09-16 06:46:42 +02:00 |
|
Gwendal Roué
|
f5cb34f506
|
DatabaseValue no longer adopts StatementColumnConvertible; DatabaseValue.fromDatabaseValue() no longer returns nil for NULL (fixes #119)
|
2016-09-16 05:48:09 +02:00 |
|
Gwendal Roué
|
f825f43528
|
Upgrade custom SQLite builds to v3.14.1, and restore support for SQLite pre-update hooks
|
2016-09-15 09:05:09 +02:00 |
|
Gwendal Roué
|
eac0901af0
|
Refactor database event filtering
|
2016-09-10 18:28:44 +02:00 |
|
Gwendal Roué
|
79f3f69827
|
Revert "Tests for numeric overflows depend on architecture"
This reverts commit 88cc17b530.
|
2016-09-10 17:55:46 +02:00 |
|
Gwendal Roué
|
7c0ca54249
|
Swift 3: move some types declarations inside the Database class
|
2016-09-10 17:52:15 +02:00 |
|
Gwendal Roué
|
88cc17b530
|
Tests for numeric overflows depend on architecture
|
2016-09-10 16:15:35 +02:00 |
|
Gwendal Roué
|
a8b067885f
|
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
Conflicts:
DemoApps/GRDBDemoiOS/GRDBDemoiOS.xcodeproj/project.pbxproj
GRDB/Core/Database.swift
README.md
TODO.md
|
2016-09-08 08:37:58 +02:00 |
|
Gwendal Roué
|
72ab62b21b
|
Merge branch 'WatchOS' of github.com:groue/GRDB.swift
|
2016-09-07 22:17:08 +02:00 |
|