Gwendal Roué
4bd5ace2ee
Use rawSQL as parameter name for raw SQL
2019-02-17 13:28:40 +01:00
Gwendal Roué
c546c578ce
fetchCursor/All/One(_:rawSQL:arguments:adapter:)
2019-02-17 13:28:40 +01:00
Gwendal Roué
354d22d70d
Update documentation for literal interpolation
2019-02-17 13:24:38 +01:00
Gwendal Roué
637de8b6fa
SQLiteral are passed via a literal parameter
2019-02-17 13:24:38 +01:00
Gwendal Roué
aa6f55d72f
Statement arguments are generally non optional
2019-02-17 13:24:38 +01:00
Gwendal Roué
f018c7f823
Rename SQLString to SQLLiteral
2019-02-17 13:24:38 +01:00
Gwendal Roué
09e85ba341
SQLString everywhere
2019-02-17 13:24:38 +01:00
Gwendal Roué
ff439c2dbc
Documentation
2019-02-17 13:24:37 +01:00
Gwendal Roué
b36cf84b23
Fetch StatementColumnConvertible from SQLString
2019-02-17 13:24:37 +01:00
Gwendal Roué
a466a8b253
Remove deprecated Cursor types
2019-02-08 10:16:17 +01:00
Gwendal Roué
6157ab0583
Have cursors reset their statement when they are deinitialized
...
This is the real fix for #424 . GRDB used to keep unfinished SQLite statements around. Now cursors properly reset their statement when they are done. We no longer have to clear the statement cache before a backup.
2018-10-05 08:13:23 +02:00
Gwendal Roué
566f42e8d0
Remove useless conversion contexts
2018-08-26 14:07:36 +02:00
Gwendal Roué
d9dd293d7f
A really difficult cleanup process
2018-08-14 08:33:06 +02:00
Gwendal Roué
66541922a4
More cleanup
2018-08-12 12:27:47 +02:00
Gwendal Roué
ef10e2e8ed
General cleanup:
...
- rename ValueConversionDebuggingInfo to ValueConversionContext
- allow missing value conversion context (when decoding a raw DatabaseValue)
- rename ColumnCursor to FastDatabaseValueCursor
- rename NullableColumnCursor to FastNullableDatabaseValueCursor
2018-08-11 19:45:58 +02:00
Gwendal Roué
220ce379e1
Test conversion error messages
2018-08-09 14:00:33 +02:00
Gwendal Roué
bcc45dc076
no more throwing conversion methods, and refactor ValueConversionDebuggingInfo
2018-08-09 08:51:50 +02:00
Gwendal Roué
f8de01779c
Cleanup
2018-08-06 13:40:05 +02:00
Gwendal Roué
a8f6ed6d61
improve value conversion diagnostics more
2018-08-06 13:40:05 +02:00
Gwendal Roué
1c811a61ca
improve value conversion diagnostics
2018-08-06 13:40:05 +02:00
Gwendal Roué
cdf5462005
Harmonize fetching methods with CustomizedDecodingOfDatabaseRows playground
2018-05-21 08:39:48 +02:00
Gwendal Roué
1bf7f67008
Update inline documentation with singular table names
2018-05-01 20:32:18 +02:00
Gwendal Roué
d39f02113c
Restore T.fetchXXX(db, request) APIs which were removed in PR #311
2018-04-16 08:50:55 +02:00
Gwendal Roué
090f872e80
Update documentation: don't mention dbQueue.inDatabase unless necessary
2018-04-15 18:09:34 +02:00
Gwendal Roué
f605e049fd
Rename TypedRequest to FetchRequest, drop Request
2018-02-26 13:12:33 +01:00
Gwendal Roué
c6bbccc02e
Have AdaptedRow go straight to SQLite when possible (avoid DatabaseValue initializer)
2018-02-22 12:23:19 +01:00
Gwendal Roué
2289ed9d95
Cleanup Jazzy documentation from most redundant definitions and experimental APIs
2018-01-21 16:57:43 +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é
c5da564fb3
Use built-in SQLite3 module when available
2017-08-19 15:21:44 +02:00
Gwendal Roué
1799fe1ff9
Consistently crash for all failed conversions from DatabaseValue
2017-05-22 13:51:39 +02:00
Gwendal Roué
c8023adff1
Cleanup
2017-04-20 14:49:08 +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é
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é
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é
b85a8b8b0b
#147 : DatabaseValueConvertible.fetchOne() can throw conversion errors
2016-11-27 18:21:04 +01:00
Gwendal Roué
95eb9afeef
Cleanup
2016-11-27 15:37:03 +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