Gwendal Roué
8d4522227c
Replace all assertNoError and try! with throwing tests
2017-03-25 16:31:54 +01:00
Gwendal Roué
bd58c18bb0
Simplify cursor step failure steps
2017-03-25 14:14:42 +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é
f6513932b0
Documentation
2016-12-09 08:48:26 +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é
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é
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é
e5a9159282
#147 : tests for DatabaseValueConvertible.fetchCursor() methods
2016-11-26 08:46:57 +01:00
Gwendal Roué
82b801498a
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Core/DatabaseValueConvertible.swift
GRDB/Core/Row.swift
GRDB/Core/StatementColumnConvertible.swift
GRDB/FetchRequest/FetchRequest.swift
GRDB/QueryInterface/QueryInterfaceRequest.swift
GRDB/Record/RowConvertible.swift
README.md
Tests/Public/Core/DatabaseValueConvertible/DatabaseValueConvertibleFetchTests.swift
Tests/Public/Core/SQLiteStatementConvertible/SQLiteStatementConvertibleFetchTests.swift
Tests/Public/FetchRequest/FetchRequestTests.swift
Tests/Public/Foundation/NSDateTests.swift
2016-06-29 13:38:24 +02:00
Gwendal Roué
21e9e64b3d
DatabaseValueConvertible and StatementColumnConvertible can now be fetched through a RowAdapter. DatabaseValueConvertible: raise a fatal error instead of converting to nil for invalid conversions triggered by fetch() methods.
2016-06-28 13:54:45 +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é
484d5a5968
Framework for GRDB+SQLCipher is named GRDBCipher
2016-04-03 21:30:22 +02:00
Gwendal Roué
7e3563f64b
Refactor tests so that DatabaseQueue can be configured at the target level. We are preparing tests for encrypted databases.
2016-04-03 16:20:45 +02:00
Gwendal Roué
7364d99b6b
WIP
2016-03-10 18:51:08 +01:00
Gwendal Roué
8cdacf3899
Rename SQLiteStatementConvertible to StatementColumnConvertible + Project organization
2016-02-07 08:51:28 +01:00
Gwendal Roué
f44ae2848f
Project organization
...
Project organization
README.md
WIP QueryBuilder documentation
README.md
WIP QueryBuilder documentation
WIP QueryBuilder documentation
TODO.md
2016-01-28 08:43:25 +01:00