Gwendal Roué
854c070b82
Xcode Version 8.0 beta 6 (8S201h)
2016-08-16 17:47:57 +02: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é
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é
c617a8f354
RowAdapter refactoring
2016-06-07 21:44:32 +02:00
Gwendal Roué
d478e4b1f4
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
2016-06-04 12:39:27 +02:00
Gwendal Roué
ac9b2e8ba4
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
2016-06-04 12:10:36 +02:00
swiftlyfalling
6664733650
Increase test coverage of FetchRequest.swift
...
Existing DatabaseValueConvertible tests were only testing the
`extension DatabaseValueConvertible where Self:
StatementColumnConvertible` cases.
Added tests to explicitly cover the cases where something conforms to
`DatabaseValueConvertible` but *not* `StatementColumnConvertible`, and
renamed the old tests.
2016-06-02 18:05:31 -04: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é
5fe7c5d888
FetchRequest tests
2016-05-22 20:16:17 +02:00
Gwendal Roué
5fac4abc07
Use FetchRequest instead of QueryInterfaceRequest where relevant
2016-05-19 13:35:45 +02:00
Gwendal Roué
5b57707b86
Rename FetchRequest to QueryInterfaceRequest
2016-05-19 13:08:36 +02:00
Gwendal Roué
eca93cb43f
Fix some tests for iOS8
2016-05-17 13:00:34 +02:00
Gwendal Roué
43e9a63210
FetchRequest.reverse() sort by descending rowID when no ordering has been specified.
2016-04-21 09:03:01 +02: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é
a97530bde8
The Query interface no longer use non-unicode aware UPPER and LOWER functions
2016-03-28 16:35:20 +02:00
Gwendal Roué
293268a004
Query interface: fix SQL generation for boolean tests
...
For example,`valid == true` now generates `"valid"`
2016-03-24 13:59:43 +01:00
Gwendal Roué
c558d8fcaa
Query interface: fix SQL generation for boolean tests
...
For example,`valid == true` now generates `"valid" <> 0`
2016-03-24 13:50:52 +01:00
Gwendal Roué
9e9fafcc5c
Documentation
2016-03-12 08:21:17 +01:00
Gwendal Roué
1fcc8c764f
Custom SQL functions are collations are now added to database queues and pools.
2016-03-10 13:50:47 +01:00
Gwendal Roué
ee81249c79
FetchRequest.fetchCount() can count all supported queries
2016-03-05 15:24:13 +01:00
Gwendal Roué
b7a7cd953e
FetchRequest.fetchCount() traps when the intent of the developer can’t be satisfied (yet), as in Person.select(name).distinct.fetchCount(db).
2016-03-04 09:15:43 +01:00
Gwendal Roué
de9d8e65bb
Add failing tests for Reader.select(Col.name).distinct.fetchCount(db)
2016-03-03 08:54:18 +01:00
Gwendal Roué
247d8a75f7
Support for EXISTS (subquery)
2016-02-08 08:37:58 +01:00
Gwendal Roué
4004d53da4
Support for comparing collated expressions with optionals
2016-02-07 16:18:30 +01:00
Gwendal Roué
09c599cc62
!FetchRequest.contains()
2016-02-07 15:20:56 +01:00
Gwendal Roué
17aa9350c5
FetchRequest.contains()
2016-02-07 15:18:18 +01:00
Gwendal Roué
06a3fa8338
Prefer declaring protocol adoptions in extensions
2016-02-01 08:14:28 +01:00
Gwendal Roué
b85b958127
Turn RowConvertible.fromRow(_:Row) into RowConvertible.init(_:Row)
2016-02-01 07:57:54 +01:00
Gwendal Roué
307008e9bc
protocol<RowConvertible+TableMapping>.fetch() and TableMapping.reverse()
2016-01-29 13:38:30 +01:00
Gwendal Roué
f08fc31e64
Remove request.fetchCount(db, expr) and request.fetchCount(db, distinct: expr)
2016-01-29 13:23:55 +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