Gwendal Roué
ac6c7f6a35
#147 : fetchAll() and fetchOne() can now throw database errors.
2016-11-26 22:38:40 +01:00
Gwendal Roué
365e44e376
TableMapping.deleteAll(db)
2016-09-17 12:50:57 +02:00
Gwendal Roué
00a1eebf60
Swift 3 Grand Renaming: SQLColumn -> Column
2016-08-07 10:38:24 +02:00
Gwendal Roué
23ffef8943
Swift3: turn TableMapping.databaseTableName() into a read-only property
2016-07-20 18:38:56 +02:00
Gwendal Roué
68f4f011b7
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/QueryInterface/QueryInterfaceRequest.swift
README.md
Tests/Public/QueryInterfaceRequest/QueryInterfaceRequestTests.swift
2016-07-19 14:08:05 +02:00
Gwendal Roué
0677a8a21a
The query interface order method replaces any previously applied ordering (see #85 )
2016-07-19 08:53:43 +02:00
Gwendal Roué
e785085d0d
Cleanup our code thanks to DispatchQueue.sync<T>(block: @noescape () throws -> T) rethrows.
2016-06-30 18:38:16 +02:00
Gwendal Roué
b624874768
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Core/Database.swift
GRDB/Core/DatabaseWriter.swift
GRDB/Core/Statement.swift
GRDB/FetchRequest/QueryInterfaceRequest.swift
GRDB/FetchRequest/SQLCollation.swift
GRDB/FetchRequest/SQLSelectQuery.swift
GRDB/Record/FetchedRecordsController.swift
README.md
Tests/Private/StatementInformationTests.swift
Tests/Public/Core/DatabaseValueConvertible/DatabaseValueConversionTests.swift
Tests/Public/Core/SQLiteStatementConvertible/SQLiteStatementConversionTests.swift
2016-06-21 09:03:02 +02:00
Gwendal Roué
219899fc9b
Query Interface arguments to SQL snippets
2016-06-18 14:49:17 +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é
5fac4abc07
Use FetchRequest instead of QueryInterfaceRequest where relevant
2016-05-19 13:35:45 +02:00