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é
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é
af8fe35222
#147 : tests for RowConvertible.fetchCursor() methods
2016-11-26 09:52:54 +01:00
Gwendal Roué
adc4ae48d6
Test DatabaseSequence<Row>.map
2016-11-25 08:11:26 +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é
41935d8b48
Code cleanup
2016-10-05 14:13:57 +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é
ebe147ee34
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Core/Row.swift
README.md
TODO.md
2016-08-01 18:47:42 +02:00
Gwendal Roué
0fb1eec3cd
Row adopts DictionaryLiteralConvertible
2016-07-31 06:18:16 +02:00
Gwendal Roué
ebdd6c5a4d
Update for Xcode Version 8.0 beta 3 (8S174q)
2016-07-19 14:01:46 +02:00
Gwendal Roué
a288c8d7fb
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/Core/Database.swift
GRDB/Core/RowAdapter.swift
README.md
Tests/Public/Core/Row/AdapterRowTests.swift
Tests/Public/Core/Row/RowConvertibleTests.swift
2016-07-08 16:57:16 +02:00
Gwendal Roué
358c3ab0c3
Row adapters: rename "variants" to "scopes"
2016-07-08 08:44:41 +02:00
Gwendal Roué
f5db3c08e3
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Core/RowAdapter.swift
GRDB/Core/Support/Foundation/NSNumber.swift
README.md
Tests/Public/Core/Row/RowConvertibleTests.swift
Tests/Public/FetchRequest/FetchRequestTests.swift
2016-06-14 19:42:21 +02:00
Gwendal Roué
d52c552721
Xcode 8 WIP
2016-06-14 12:51:33 +02:00
Gwendal Roué
a882a5f346
RowAdapter documentation
2016-06-08 20:54:25 +02:00
Gwendal Roué
390cf44a88
RowAdapter documentation
2016-06-08 09:00:22 +02:00
Gwendal Roué
3e71253ffb
RowAdapter documentation
2016-06-08 08:17:37 +02:00
Gwendal Roué
7a13b9c4b7
More RowAdapter tests
2016-06-08 06:20:27 +02:00
Gwendal Roué
15f9aabaf0
SuffixRowAdapter
2016-06-07 22:18:13 +02:00
Gwendal Roué
c617a8f354
RowAdapter refactoring
2016-06-07 21:44:32 +02:00
Gwendal Roué
88c284dbf1
Merge branch 'master' into Swift3bis
...
Conflicts:
GRDB/Core/Database.swift
GRDB/FetchRequest/QueryInterfaceRequest.swift
GRDB/FetchRequest/SQLCollation.swift
GRDB/FetchRequest/SQLFunction.swift
GRDB/FetchRequest/SQLOperator.swift
GRDB/FetchRequest/SQLSelectQuery.swift
README.md
2016-06-02 20:47:04 +02:00
Gwendal Roué
7c4ff7677d
swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a
2016-06-02 08:38:15 +02:00
swiftlyfalling
30bc7e4f6c
Replace most uses of #if SQLITE_HAS_CODEC with the appropriate USING_BUILTIN_SQLITE or USING_SQLCIPHER defines.
...
This enables easier compilation of a custom version of SQLite that
itself uses the SQLITE_HAS_CODEC define. (ex. If building SQLite with
the SQLite Encryption Extension.)
The SQLITE_HAS_CODEC define is now only used to guard use of the SQLite
encryption APIs.
GRDBCipher builds define USING_BUILTIN_SQLITE and USING_SQLCIPHER.
2016-05-30 18:19:45 -04:00
Gwendal Roué
eb726e47c3
RowAdapter documentation
2016-05-21 08:07:20 +02:00
Gwendal Roué
d8b935369b
RowAdapter refactoring
2016-05-20 21:57:39 +02:00
Gwendal Roué
4e2f396b4a
RowAdapter refactoring
2016-05-20 21:00:50 +02:00
Gwendal Roué
4c2a53ac26
Issue #50 : More MappedRowTests
2016-05-20 15:53:57 +02:00
Gwendal Roué
daba5b2102
Merge branch 'master' into RowAdapter
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Record/FetchedRecordsController.swift
TODO.md
2016-05-19 20:40:26 +02:00
Gwendal Roué
3b93cf8e28
Issue #50 : More MappedRowTests
2016-05-19 08:32:34 +02:00
Gwendal Roué
fca37601dd
Issue #50 : Tests for RowConvertible.fetch(…:adapter:)
2016-05-19 06:37:56 +02:00
Gwendal Roué
c891c3cff8
Merge branch 'master' into RowAdapter
2016-05-19 05:40:15 +02:00
Gwendal Roué
917e75050e
Merge branch 'master' into RowAdapter
...
Conflicts:
GRDB/Core/Row.swift
2016-05-19 05:35:20 +02:00
Gwendal Roué
f553f2d2b0
Remove Row subscripting by column name; row.databaseValue(named:) returns an optional DatabaseValue
2016-05-18 19:03:29 +02:00
Gwendal Roué
695279e784
Issue #50 : More MappedRowTests
2016-05-18 16:28:06 +02:00
Gwendal Roué
51130c354b
Issue #50 : More MappedRowTests
2016-05-18 13:55:02 +02:00
Gwendal Roué
79d1845266
Issue #50 : More RowAdapterTests
2016-05-18 09:16:03 +02:00
Gwendal Roué
4f1173e609
Issue #50 : More RowAdapterTests
2016-05-18 09:10:48 +02:00
Gwendal Roué
23178a2727
Issue #50 : More RowAdapterTests
2016-05-18 09:09:09 +02:00
Gwendal Roué
60ab73d8a4
Issue #50 : AdaptedRowImpl preserves column ordering
2016-05-18 09:04:39 +02:00
Gwendal Roué
2a39120b38
Issue #50 : RowAdapter mappings have mandatory matching columns in the iterated statement.
2016-05-18 08:27:52 +02:00
Gwendal Roué
04e648b3f9
More RowAdapter tests
2016-05-13 11:37:31 +02:00