Gwendal Roué
|
8aa5ca0119
|
DatabaseSequence documentation
|
2015-09-24 09:08:00 +02:00 |
|
Gwendal Roué
|
4e980b51ab
|
RowConvertible documentation
|
2015-09-24 08:48:26 +02:00 |
|
Gwendal Roué
|
c927faa6ad
|
Row documentation
|
2015-09-24 08:45:12 +02:00 |
|
Gwendal Roué
|
ba4a729ba9
|
Row documentation
|
2015-09-24 08:35:35 +02:00 |
|
Gwendal Roué
|
b28f855bd4
|
MetalType documentation
|
2015-09-24 08:29:39 +02:00 |
|
Gwendal Roué
|
052448b2f7
|
Documentation
|
2015-09-24 08:22:02 +02:00 |
|
Gwendal Roué
|
c05a2dbab2
|
DatabaseValueConvertible documentation
|
2015-09-24 08:10:45 +02:00 |
|
Gwendal Roué
|
4f5ebc1605
|
DatabaseValue documentation
|
2015-09-24 08:02:48 +02:00 |
|
Gwendal Roué
|
d153b5e91b
|
Documentation
|
2015-09-23 22:19:47 +02:00 |
|
Gwendal Roué
|
70b7c0d76c
|
Delete commented code
|
2015-09-23 20:16:27 +02:00 |
|
Gwendal Roué
|
48e4cb9a0c
|
Remove from DatabaseValue support for metal access, since it does not improve performance.
|
2015-09-23 19:09:23 +02:00 |
|
Gwendal Roué
|
9126c01a40
|
Refactor DatabaseValue so that it can improve extraction of MetalType. Add a performance test for Record.
|
2015-09-23 14:25:19 +02:00 |
|
Gwendal Roué
|
5789c93ad8
|
Simplify Blob
|
2015-09-23 08:51:15 +02:00 |
|
Gwendal Roué
|
ad2bc3f2e6
|
Metal rows: improve speed of named column access.
|
2015-09-23 08:04:19 +02:00 |
|
Gwendal Roué
|
7c934fc77d
|
Bring back queue safety of statement iteration.
|
2015-09-23 04:57:22 +02:00 |
|
Gwendal Roué
|
3ec12b0f9b
|
Metal documentation WIP
|
2015-09-23 04:56:43 +02:00 |
|
Gwendal Roué
|
7622b100f3
|
Make Row a struct, since making it a class does not noticeably improve performances.
|
2015-09-22 22:44:25 +02:00 |
|
Gwendal Roué
|
49c9636086
|
Make Row a class, and introduce DatabaseSequence and DatabaseGenerator for better performance.
|
2015-09-22 22:37:53 +02:00 |
|
Gwendal Roué
|
8b46d27377
|
Remove metalFetch() functions, and make Row.fetch() unsafe. RowConvertible builds from metal rows. Add Row.detachedRow(). Record stores a detached row as a reference row.
|
2015-09-22 08:33:17 +02:00 |
|
Gwendal Roué
|
2da093baff
|
Pervasive metal
|
2015-09-17 06:29:56 +02:00 |
|
Gwendal Roué
|
dcbc5ef3f5
|
Drop obsolete MetalRow
|
2015-09-16 22:02:39 +02:00 |
|
Gwendal Roué
|
4b049eefda
|
Row.metalFetch(), the base for future Int.metalFetch() and Person.metalFetch()
|
2015-09-16 21:53:35 +02:00 |
|
Gwendal Roué
|
1254f0e91a
|
Non-optional Value extraction + identical Row and MetalRow look more and more similar
|
2015-09-16 19:55:07 +02:00 |
|
Gwendal Roué
|
7a9446fc20
|
Metal API performance is identical to FMDB's.
|
2015-09-16 13:54:44 +02:00 |
|
Gwendal Roué
|
018f76aafa
|
FetchPerformanceTests helps comparing unsafe from safe fetch.
|
2015-09-16 08:56:46 +02:00 |
|
Gwendal Roué
|
c886e4c803
|
Refactor SelectStatement.fetch into SelectStatement.generate
|
2015-09-16 06:50:48 +02:00 |
|
Gwendal Roué
|
2a6fbe6053
|
Experiment with unsafe but fast rows
|
2015-09-15 20:38:14 +02:00 |
|
Gwendal Roué
|
85a8819d9c
|
Default to IMMEDIATE transactions.
This avoid select statements to crash by default when there is a concurrent write.
|
2015-09-13 19:34:13 +02:00 |
|
Gwendal Roué
|
15600b7268
|
Documentation: remove warnings about Database extraction out of DatabaseQueue, since Database will vigorously crash as soon as it is badly used.
|
2015-09-13 17:37:02 +02:00 |
|
Gwendal Roué
|
facb6a53a9
|
Support for Busy handlers and timeout.
|
2015-09-13 15:20:53 +02:00 |
|
Gwendal Roué
|
9e0a05c810
|
Transactions documentation
|
2015-09-13 13:45:41 +02:00 |
|
Gwendal Roué
|
a6916ade9b
|
Configuration.transactionType
|
2015-09-12 18:47:04 +02:00 |
|
Gwendal Roué
|
9a2c1c1946
|
Fix wrong documentation about reentrancy.
|
2015-09-12 16:04:06 +02:00 |
|
Gwendal Roué
|
75bb735e98
|
Use fatalError() instead of precondition() so that safety checks survive Release configuration.
|
2015-09-12 14:36:06 +02:00 |
|
Gwendal Roué
|
4cbac39dfc
|
Use precondition() instead of assert() so that safety checks survive Release configuration.
|
2015-09-12 14:24:21 +02:00 |
|
Gwendal Roué
|
ac7db33b61
|
Refactor concurrency safety checks
|
2015-09-12 14:21:46 +02:00 |
|
Gwendal Roué
|
c09d5130fb
|
Document why reentrancy is not supported.
|
2015-09-12 13:29:45 +02:00 |
|
Gwendal Roué
|
2fee6799d0
|
DatabaseQueue.inTransaction() and DatabaseQueue.inDatabase() are no longer reentrant, since we don’t (yet?) implement it in a robust way.
|
2015-09-12 13:22:01 +02:00 |
|
Gwendal Roué
|
1841e2f6e1
|
Document that Database object must not be extracted out of DatabaseQueue.inTransaction and DatabaseQueue.inDatabase closures.
|
2015-09-12 10:41:30 +02:00 |
|
Gwendal Roué
|
17c81871db
|
Improve robustness of transaction error handling
|
2015-09-12 08:45:11 +02:00 |
|
Gwendal Roué
|
8bc7dbe273
|
Tests for SQLITE_BUSY
|
2015-09-12 08:22:12 +02:00 |
|
Gwendal Roué
|
a5b542902d
|
Document that sequences (of rows, values or records) are affected by database changes.
|
2015-09-12 07:36:38 +02:00 |
|
Gwendal Roué
|
70c65f436d
|
DatabaseQueue documentation: explain why we use a serial queue.
|
2015-09-12 07:35:24 +02:00 |
|
Gwendal Roué
|
214c9d30cd
|
Database.updateStatement() is no longer a throwing method.
|
2015-09-11 18:33:58 +02:00 |
|
Gwendal Roué
|
4f07acd0a0
|
Record.awakeFromFetch()
|
2015-09-10 22:01:59 +02:00 |
|
Gwendal Roué
|
41d210f7b7
|
Row[] and Row.value(named:) are case-insensitive.
|
2015-09-10 08:19:50 +02:00 |
|
Gwendal Roué
|
d4fc9dfe44
|
Database.columnInfosForTable(named:)
|
2015-09-10 07:58:30 +02:00 |
|
Gwendal Roué
|
6239955e08
|
Replace fatalError() with assert() when possible
|
2015-09-09 13:26:57 +02:00 |
|
Gwendal Roué
|
9ef40dcb4f
|
SQLite error management cleanup
|
2015-09-09 13:11:48 +02:00 |
|
Gwendal Roué
|
d19e813e54
|
Row cleanup
|
2015-09-09 13:07:30 +02:00 |
|