Gwendal Roué
f2bb8bb8af
Remove DatabaseValue.value()
2017-03-24 20:05:02 +01:00
Gwendal Roué
e4a346995b
#171 : rename ResultCode.code into ResultCode.resultCode (@hartbit's suggestion)
2017-02-26 17:24:44 +01:00
Gwendal Roué
7eb592df79
#171 : introduce ResultCode
2017-02-26 15:36:21 +01:00
Gwendal Roué
0f34ee7d16
Revert "DatabaseError.code is now Database.ResultCode"
...
This reverts commit 968942f128 .
2016-12-29 13:32:29 +01:00
Gwendal Roué
968942f128
DatabaseError.code is now Database.ResultCode
2016-12-28 11:55:47 +01:00
Gwendal Roué
b737321cbd
Rows expressed as dictionary literals now preserve column ordering, and allow duplicated column names
2016-12-16 05:01:07 +01:00
Gwendal Roué
cb81e50f71
Request.adapted(_:)
2016-12-11 21:07:52 +01:00
Gwendal Roué
66daa2eb29
RangeRowAdapter(CountableClosedRange<Int>)
2016-12-09 09:54:25 +01:00
Gwendal Roué
f6513932b0
Documentation
2016-12-09 08:48:26 +01:00
Gwendal Roué
1d6671c11a
Introduce RangeRowAdapter
2016-12-08 19:07:11 +01:00
Gwendal Roué
cb08660a78
Rename FetchRequest -> Request
2016-12-08 13:56:05 +01:00
Gwendal Roué
0e2a96b402
Failing tests from TypedFetchRequest
2016-12-08 08:39:06 +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é
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