Gwendal Roué
|
8a213af2ab
|
Cleanup & whitespace
|
2017-10-30 12:25:12 +01:00 |
|
Gwendal Roué
|
a4a05b1f0a
|
Introduce DatabaseValueCursor, NullableDatabaseValueCursor
|
2017-08-25 05:54:37 +02: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é
|
06a6c982aa
|
SE-0148
|
2017-08-18 14:22:14 +02:00 |
|
Gwendal Roué
|
7f64abe820
|
Identify experimental features in the inline documentation
|
2017-06-20 07:54:19 +02:00 |
|
Gwendal Roué
|
59962e5e88
|
Identify experimental features in the inline documentation
|
2017-06-20 07:54:19 +02:00 |
|
Gwendal Roué
|
10e669423f
|
Use the dbValue identifier for variables of type DatabaseValue
|
2017-06-01 08:35:14 +02:00 |
|
Gwendal Roué
|
1799fe1ff9
|
Consistently crash for all failed conversions from DatabaseValue
|
2017-05-22 13:51:39 +02:00 |
|
Gwendal Roué
|
dae4ae1c6b
|
Reduce internal coupling
|
2017-04-22 11:12:43 +02:00 |
|
Gwendal Roué
|
c8023adff1
|
Cleanup
|
2017-04-20 14:49:08 +02:00 |
|
Gwendal Roué
|
62d19c9d11
|
Xcode8.3 WIP
|
2017-03-28 08:02:08 +02:00 |
|
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é
|
cb81e50f71
|
Request.adapted(_:)
|
2016-12-11 21:07:52 +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é
|
74e89c542a
|
Cleanup
|
2016-12-07 18:45:14 +01:00 |
|
Gwendal Roué
|
095778cf0f
|
Documentation
|
2016-11-30 10:53:57 +01:00 |
|
Gwendal Roué
|
2cec3f29d1
|
Statement.fetchCursor() no longer throws. TODO: Type.fetchCursor(statement) should not throw
|
2016-11-30 09:18:22 +01:00 |
|
Gwendal Roué
|
527aed0ea3
|
Documentation
|
2016-11-29 14:17:41 +01:00 |
|
Gwendal Roué
|
a8e266377c
|
Documentation
|
2016-11-29 12:02:29 +01:00 |
|
Gwendal Roué
|
5e2dc95331
|
DatabaseValueConvertible.fetchOne(): avoid double DatabaseValue conversion
|
2016-11-28 08:46:57 +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é
|
c80f0d317a
|
#147: Array(cursor) initialiser; base all fetchAll and fetchOne methods on fetchCursor.
|
2016-11-26 09:13:39 +01:00 |
|
Gwendal Roué
|
b0db219aeb
|
#147: Rename DatabaseCursor.step() into next
|
2016-11-26 08:20:26 +01:00 |
|
Gwendal Roué
|
2eb190dbbb
|
Base DatabaseSequence on DatabaseCursor (addresses #147)
|
2016-11-26 00:56:37 +01:00 |
|
Gwendal Roué
|
b9fea2ea12
|
Introduce DatabaseCursor (addresses #147)
let cursor = try Row.fetchCursor(db, "SELECT * FROM persons)
while let row = try cursor.step() { ... }
|
2016-11-25 18:34:16 +01:00 |
|
Gwendal Roué
|
5a572b25a0
|
Refactor the query interface types to enhance extensibility
|
2016-09-27 23:11:21 +02:00 |
|
Gwendal Roué
|
2c3bf06740
|
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
Conflicts:
GRDB/QueryInterface/QueryInterfaceRequest.swift
GRDB/QueryInterface/SQLCollation.swift
GRDB/QueryInterface/SQLFunction.swift
GRDB/QueryInterface/SQLOperator.swift
GRDB/QueryInterface/SQLSelectQuery.swift
GRDB/QueryInterface/SQLTableBuilder.swift
|
2016-08-07 12:57:48 +02:00 |
|
Gwendal Roué
|
a132b58227
|
Promote _SQLExpressible protocol to SQLExpressible
|
2016-08-07 12:46:19 +02:00 |
|
Gwendal Roué
|
00a1eebf60
|
Swift 3 Grand Renaming: SQLColumn -> Column
|
2016-08-07 10:38:24 +02:00 |
|
Gwendal Roué
|
7ea2d7d1ab
|
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
Conflicts:
GRDB/Core/DatabaseValueConvertible.swift
|
2016-07-22 10:08:48 +02:00 |
|
Gwendal Roué
|
8ecfb872b6
|
Simplify DatabaseValueConvertible.sqlLiteral
|
2016-07-22 10:01:36 +02:00 |
|
Gwendal Roué
|
2a91ab07b9
|
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Core/Database.swift
GRDB/Core/DatabaseSchemaCache.swift
GRDB/Core/Statement.swift
TODO.md
Tests/Private/RecordUniqueIndexTests.swift
|
2016-07-22 09:01:39 +02:00 |
|
Gwendal Roué
|
111d11a71b
|
DatabaseValueConvertible.sqlLiteral returns a safely escaped SQL literal (addresses #83)
|
2016-07-22 08:49:35 +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é
|
8992b4a284
|
Move FetchRequest to Core
|
2016-06-28 09:09:06 +02:00 |
|
Gwendal Roué
|
aa6097dff8
|
swift-DEVELOPMENT-SNAPSHOT-2016-05-31-a
|
2016-06-02 19:58:58 +02:00 |
|
Gwendal Roué
|
7c4ff7677d
|
swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a
|
2016-06-02 08:38:15 +02:00 |
|
Gwendal Roué
|
cb36991cb2
|
Cleanup Query Interface protocols
|
2016-06-02 08:09:44 +02:00 |
|
Gwendal Roué
|
4bcff181c7
|
Back to block-based database accesses.
Rationale: https://medium.com/@gwendal.roue/four-different-ways-to-handle-sqlite-concurrency-db3bcc74d00e
|
2016-04-08 08:29:58 +02:00 |
|
Gwendal Roué
|
63545c1f08
|
Documentation
|
2016-03-15 19:05:04 +01:00 |
|
Gwendal Roué
|
9e9fafcc5c
|
Documentation
|
2016-03-12 08:21:17 +01:00 |
|
Gwendal Roué
|
61f944fdaa
|
Cleanup
|
2016-03-11 18:12:42 +01:00 |
|
Gwendal Roué
|
6f4a29e6f8
|
DatabaseReader WIP
|
2016-03-11 07:34:44 +01:00 |
|
Gwendal Roué
|
7364d99b6b
|
WIP
|
2016-03-10 18:51:08 +01:00 |
|