Gwendal Roué
cb2405a8b9
RowDecodingError
2021-02-21 14:21:04 +01:00
Gwendal Roué
836efb120f
Xcode 12.3 formatting
2020-12-23 12:13:05 +01:00
Gwendal Roué
9ee3fd38b5
Remove mentions of unsupported iOS versions
2020-05-31 13:54:02 +02:00
Gwendal Roué
1ea5d1713a
Cleanup
2020-04-12 10:04:09 +02:00
Gwendal Roué
0372c1dd63
Complete #747 : export the underlying SQLite library
2020-04-12 07:27:50 +02:00
Gwendal Roué
9aa67f9db9
SE-0255: Implicit returns from single-expression functions
2020-03-08 23:12:46 +01:00
Gwendal Roué
df6bb8761c
Swiftlint + whitespace
2019-07-01 08:57:53 +02:00
Roberto Casula
b6f988194c
fix errors for Xcode 11 beta
2019-06-08 15:46:48 +02:00
Gwendal Roué
1f50b4fefe
Integrate SQLCipher as a CocoaPod
2019-04-19 08:33:19 +02:00
Gwendal Roué
746c22e950
@inlinable FastDatabaseValueCursor and FastNullableDatabaseValueCursor
2019-02-23 14:28:44 +01:00
Gwendal Roué
db67d3840b
Principle of least astonishment: rrename argument label rawSQL to sql
2019-02-17 13:28:41 +01:00
Gwendal Roué
c546c578ce
fetchCursor/All/One(_:rawSQL:arguments:adapter:)
2019-02-17 13:28:40 +01:00
Gwendal Roué
59162d93de
Rename Database.execute(_:String) to Database.execute(rawSQL:String)
2019-02-17 13:27:54 +01:00
Gwendal Roué
a230fe400d
Availability checks: assume iOS >= 9.0
2019-02-07 08:52:38 +01:00
Gwendal Roué
13f3e5ec0d
Remove useless conversions from Int to Int32
2018-08-20 21:14:32 +02:00
Gwendal Roué
eba21d3371
Oh men of little faith!
2018-08-15 16:55:12 +02:00
Gwendal Roué
0b77d0d745
Better feedback for conversion errors from StatementColumnConvertible
2018-08-15 16:10:51 +02:00
Gwendal Roué
1c66ad4aad
Restore GRDB/Core/Support/Foundation/Data.swift
...
because Data belongs to Foundation, not to the Standard Library.
Remove `import Foundation` from StandardLibrary.swift
2018-08-15 12:05:16 +02:00
Vlad Alexa
76f5adf944
moved the extension to Swift.Data to follow the extension to Swift.String in the StandardLibrary.swift,
...
added case .blob(let data): return String(data: data, encoding: .utf8) to String.fromDatabaseValue
fixed tests
2018-08-14 15:04:07 +01:00
Gwendal Roué
8ccc23333d
Replace DatabaseCursor with new concrete cursors RowCursor, StatementColumnCursor, NullableStatementColumnCursor, and StatementCursor.
2017-08-23 08:16:30 +02:00
Gwendal Roué
c5da564fb3
Use built-in SQLite3 module when available
2017-08-19 15:21:44 +02:00
Gwendal Roué
cfd2d80b78
Fix typo
2017-07-30 15:22:13 +02:00
Gwendal Roué
0eb51e3e8b
Int8, Int16, UInt, UInt8, UInt16, UInt32, UInt64 adopt DatabaseValueConvertible and StatementColumnConvertible
2017-07-29 12:58:35 +02:00
Gwendal Roué
10e669423f
Use the dbValue identifier for variables of type DatabaseValue
2017-06-01 08:35:14 +02:00
Gwendal Roué
63b3b4225a
Rename package to GRDB, and rename SQLite module to CSQLite
2017-04-11 13:22:26 +02:00
Andrey Fidrya
1751fb38e5
SPM support
2017-04-08 21:32:58 +03:00
Gwendal Roué
62d19c9d11
Xcode8.3 WIP
2017-03-28 08:02:08 +02:00
Gwendal Roué
5454e43bc4
Use Int(exactly:) and Int32(exactly:) initializers
2017-03-18 17:00:06 +01:00
Gwendal Roué
ac6c7f6a35
#147 : fetchAll() and fetchOne() can now throw database errors.
2016-11-26 22:38:40 +01:00
Gwendal Roué
21c41fb145
availability cleanup
2016-11-05 14:37:36 +01:00
Gwendal Roué
a8b067885f
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
DemoApps/GRDBDemoiOS/GRDBDemoiOS.xcodeproj/project.pbxproj
GRDB/Core/Database.swift
README.md
TODO.md
2016-09-08 08:37:58 +02:00
Gwendal Roué
854c070b82
Xcode Version 8.0 beta 6 (8S201h)
2016-08-16 17:47:57 +02:00
Gwendal Roué
b5bb92459d
WatchOS framework (adresses #96 )
2016-08-10 06:27:50 +02:00
Gwendal Roué
00a1eebf60
Swift 3 Grand Renaming: SQLColumn -> Column
2016-08-07 10:38:24 +02:00
Gwendal Roué
6ac2cd4686
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
DemoApps/GRDBDemoiOS7/GRDBDemoiOS7/AppDatabase.swift
DemoApps/GRDBDemoiOS7/GRDBDemoiOS7/Person.swift
DemoApps/GRDBDemoiOS7/GRDBDemoiOS7/PersonEditionViewController.swift
DemoApps/GRDBDemoiOS7/GRDBDemoiOS7/PersonsViewController.swift
GRDB/Core/Support/Foundation/NSNumber.swift
GRDB/Core/Support/StandardLibrary/StandardLibrary.swift
GRDB/Record/FetchedRecordsController.swift
Tests/Public/Core/DatabaseValueConvertible/NSNumberTests.swift
Tests/Public/FetchedRecordsController/FetchedRecordsControllerTests.swift
2016-06-07 19:01:08 +02:00
Gwendal Roué
1d4bff1add
#68 : conversion error messages contain the "database" word.
2016-06-05 14:57:07 +02:00
Gwendal Roué
30864a16a2
#68 : numeric overflow error messages contain the faulty value
2016-06-05 14:02:28 +02:00
Gwendal Roué
7186c9a3a0
#68 : take care of Int, Int32 and Int64 overflow when converting from database values
2016-06-05 13:49:47 +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é
4185de77e0
Remove DatabaseValue.failableValue()
2016-05-18 18:40:03 +02:00
Gwendal Roué
6e0837325c
Documentation
2016-05-07 11:34:24 +02:00
Gwendal Roué
1136d367c7
Code organization
2016-04-13 08:59:32 +02:00
Gwendal Roué
023d757964
Attempt to fix CocoaPods
2016-04-05 08:53:02 +02:00
Gwendal Roué
3e0fcc4b87
New GRDBCipherOSX target + tests
2016-04-03 11:40:34 +02:00
Gwendal Roué
c6f96906ca
Avoid build errors by using ad-hoc Swift modules that import the right sqlite3 header depending on the platform (MacOSX, iPhoneOS, iPhoneSimulator).
2016-03-17 08:54:09 +01:00
Gwendal Roué
070f4276de
Typo
2016-02-07 09:29:23 +01:00
Gwendal Roué
8cdacf3899
Rename SQLiteStatementConvertible to StatementColumnConvertible + Project organization
2016-02-07 08:51:28 +01:00