Commit Graph
29 Commits
Author SHA1 Message Date
Gwendal Roué ddf0b5de70 Update CrashTests.swift, and add GRDBOSXCrashTests target which runs crash tests only. 2016-01-07 14:11:30 +01:00
Gwendal Roué 5e1d8ee639 Statement.validateArguments() 2016-01-06 08:47:50 +01:00
Gwendal Roué 04d7c2b511 Methods that build prepared statement can now throw an error. 2015-12-28 21:29:29 +01:00
Gwendal Roué 0719b2a9ab DatabaseValueConvertible no longer inherits from RowConvertible.
This avoid the creation of rows in order to access the first column, and this also prevent calling awakeFromFetch for types that adopt databaseValueConvertible.
2015-12-25 13:17:30 +01:00
Gwendal Roué 5dc22f6dd7 More compliance to Swift 3 API Design Guidelines 2015-12-16 12:09:04 +01:00
Gwendal Roué 77e8641c32 Documentation 2015-12-14 07:52:37 +01:00
Gwendal Roué 93e7dc8709 Make DatabaseValueConvertible a subprotocol of RowConvertible. Drop RowConvertible dictionary initializers. 2015-12-14 06:48:38 +01:00
Gwendal Roué ce42192334 Documentation 2015-11-19 08:20:28 +01:00
Gwendal Roué 1e3d9f16df StatementArguments.Default is used in place of nil for default parameter values. 2015-11-13 11:46:25 +01:00
Gwendal Roué 0123d22812 Declare DatabaseGenerator.next() as mutating 2015-10-31 08:33:12 +01:00
Gwendal Roué 18306fcd64 Use /// for documentation comments, since Xcode 7 has weird behavior with /** 2015-10-27 08:30:24 +01:00
Gwendal Roué 1a640c2f10 Improve value conversion error reporting 2015-10-01 08:51:55 +02:00
Gwendal Roué ff9b2c8bda Fetch sequences of optional or non-optional values. 2015-09-25 08:31:29 +02:00
Gwendal Roué 8c508ef9a9 Fetch sequences of optional or non-optional values. 2015-09-25 06:38:33 +02:00
Gwendal Roué 5c13660022 Rename MetalType -> SQLiteStatementConvertible 2015-09-24 09:12:30 +02:00
Gwendal Roué c05a2dbab2 DatabaseValueConvertible documentation 2015-09-24 08:10:45 +02:00
Gwendal Roué d153b5e91b Documentation 2015-09-23 22:19:47 +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é 3ec12b0f9b Metal documentation WIP 2015-09-23 04:56:43 +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é 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é a5b542902d Document that sequences (of rows, values or records) are affected by database changes. 2015-09-12 07:36:38 +02:00
Gwendal Roué 13f38a9823 Improve fetch() methods 2015-09-08 18:12:57 +02:00
Gwendal Roué 8f26c44837 Documentation 2015-09-06 18:42:18 +02:00
Gwendal Roué 862ac11d94 Extract Foundation 2015-09-06 16:55:38 +02:00
Gwendal Roué 6c4794f02c DatabaseValueConvertible redesign, and project reorganization 2015-09-06 15:23:02 +02:00