Commit Graph
306 Commits
Author SHA1 Message Date
Gwendal Roué 00a1eebf60 Swift 3 Grand Renaming: SQLColumn -> Column 2016-08-07 10:38:24 +02:00
Gwendal Roué bcd6e6767a Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
Conflicts:
	GRDB.xcodeproj/project.pbxproj
	GRDB/Core/Database.swift
	GRDB/Core/DatabaseSchemaCache.swift
	GRDB/QueryInterface/SQLCollation.swift
	README.md
	TODO.md
	Tests/Public/Core/DatabaseValueConvertible/DatabaseValueConversionTests.swift
	Tests/Public/Core/StatementColumnConvertible/StatementColumnConvertibleTests.swift
	Tests/Public/QueryInterfaceRequest/QueryInterfaceRequestTests.swift
2016-08-07 10:11:31 +02:00
Gwendal Roué cfa091dbc4 SQLTableBuilder documentation + drop support for explicit primary key ordering until someone asks for it. 2016-08-06 13:40:04 +02:00
Gwendal Roué 988ac8e60b SQLTableBuilder polish 2016-08-05 23:45:27 +02:00
Gwendal Roué 29d4396956 SQLTableBuilder: tests for unicode default strings 2016-08-05 23:35:56 +02:00
Gwendal Roué 0ba0023099 SQLTableBuilder documentation + support for LENGTH SQLite function 2016-08-05 23:22:47 +02:00
Gwendal Roué 00a032e6b0 SQLTableBuilder documentation 2016-08-05 22:58:03 +02:00
Gwendal Roué 8991232681 SQLTableBuilder: alter(table:) { $0.add(column:) } 2016-08-05 20:31:18 +02:00
Gwendal Roué 31a0604341 SQLTableBuilder: rename(table:to:) 2016-08-05 20:04:28 +02:00
Gwendal Roué 8b6ac9c736 SQLTableBuilder: create(index:), drop(index:) 2016-08-05 19:58:12 +02:00
Gwendal Roué ac5279fa70 Use SQLCollation instead of String 2016-08-05 18:51:06 +02:00
Gwendal Roué f2a7706bdf SQLTableBuilder: test ordering of DSL statements is not the ordering of SQL clauses 2016-08-05 14:06:11 +02:00
Gwendal Roué b88d2fe111 SQLTableBuilder: table.check() 2016-08-05 14:03:50 +02:00
Gwendal Roué 9b9b4d4bdf SQLTableBuilder: column.defaults() and column.check() now accept SQL literal 2016-08-05 13:52:09 +02:00
Gwendal Roué 61cb276b94 SQLTableBuilder: table.foreignKey() 2016-08-05 09:05:32 +02:00
Gwendal Roué f83f5455c2 SQLTableBuilder: table.primaryKey(), table.uniqueKey() 2016-08-05 08:48:46 +02:00
Gwendal Roué 39e3cba80e SQLTableBuilder: column.references(deferred: true) 2016-08-05 08:24:00 +02:00
Gwendal Roué 8246f1c990 SQLTableBuilder: column.references() 2016-08-05 08:17:09 +02:00
Gwendal Roué 10c32381d4 SQLTableBuilder: column.collate() 2016-08-04 23:05:56 +02:00
Gwendal Roué 5b6efbbb5f SQLTableBuilder: column.defaults() 2016-08-04 22:57:14 +02:00
Gwendal Roué 5edb5276f8 SQLTableBuilder: column.check() 2016-08-04 13:57:32 +02:00
Gwendal Roué b1109780ed SQLTableBuilder: column.notNull() and unique() 2016-08-04 13:48:08 +02:00
Gwendal Roué 8332dc188a SQLTableBuilder tests 2016-08-04 13:34:14 +02:00
Gwendal Roué 3e28fd69b3 SQLTableBuilder: table & column primary key options 2016-08-04 09:10:32 +02:00
Gwendal Roué 4cf6f7bd7c SQLTableBuilder: first passing test 2016-08-04 08:51:00 +02:00
Gwendal Roué a2b0a57971 Realm 1.0.2 2016-08-03 13:27:50 +02:00
Gwendal Roué 2d78d04d52 Update for Xcode Version 8.0 beta 4 (8S188o) 2016-08-01 22:33:50 +02:00
Gwendal Roué ebe147ee34 Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
Conflicts:
	GRDB.xcodeproj/project.pbxproj
	GRDB/Core/Row.swift
	README.md
	TODO.md
2016-08-01 18:47:42 +02:00
Gwendal Roué 0fb1eec3cd Row adopts DictionaryLiteralConvertible 2016-07-31 06:18:16 +02:00
Gwendal Roué 7404c642e3 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/Record/Persistable.swift
	GRDB/Record/Record.swift
	README.md
	Tests/Private/DatabasePoolSchemaCacheTests.swift
	Tests/Public/Core/Persistable/MutablePersistableTests.swift
	Tests/Public/Core/Persistable/PersistableTests.swift
	Tests/Public/Record/RecordSubClassTests.swift
2016-07-30 12:58:10 +02:00
Gwendal Roué b16656bd23 Partial update WIP: cache & column case insensitivity 2016-07-28 19:28:46 +02:00
Gwendal Roué 176a23fe97 Partial update WIP: tests 2016-07-28 08:53:17 +02:00
Gwendal Roué 50ce433bcb Partial update WIP: public API 2016-07-28 08:25:08 +02:00
Gwendal Roué 77278e77eb Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
Conflicts:
	GRDB/QueryInterface/QueryInterfaceRequest.swift
	GRDB/QueryInterface/SQLCollation.swift
	GRDB/QueryInterface/SQLSelectQuery.swift
2016-07-22 13:48:39 +02:00
Gwendal Roué c6f2c8a3f5 Remove dead code 2016-07-22 13:40:07 +02:00
Gwendal Roué e037972dbb Remove dead code 2016-07-22 13:38:31 +02:00
Gwendal Roué ba24c55d41 Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
Conflicts:
	GRDB.xcodeproj/project.pbxproj
	GRDB/QueryInterface/QueryInterfaceRequest.swift
	GRDB/QueryInterface/SQLCollation.swift
	GRDB/QueryInterface/SQLSelectQuery.swift
2016-07-22 13:04:20 +02:00
Gwendal Roué 034a24dfe3 _SQLExpression.sql(_:_:) turns all values into safely escaped SQL literals when given nil arguments. (addresses #83) 2016-07-22 12:56:26 +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é fcf90a053a Database.indexes(on:) and Database.table(_:hasUniqueKey:) are public 2016-07-21 19:08:27 +02:00
Gwendal Roué 23ffef8943 Swift3: turn TableMapping.databaseTableName() into a read-only property 2016-07-20 18:38:56 +02:00
Gwendal Roué 68f4f011b7 Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
Conflicts:
	GRDB/QueryInterface/QueryInterfaceRequest.swift
	README.md
	Tests/Public/QueryInterfaceRequest/QueryInterfaceRequestTests.swift
2016-07-19 14:08:05 +02:00
Gwendal Roué ebdd6c5a4d Update for Xcode Version 8.0 beta 3 (8S174q) 2016-07-19 14:01:46 +02:00
Gwendal Roué 0677a8a21a The query interface order method replaces any previously applied ordering (see #85) 2016-07-19 08:53:43 +02:00
Gwendal Roué 02d2b89a4d Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
Conflicts:
	GRDB.xcodeproj/project.pbxproj
	GRDB/Core/Database.swift
	GRDB/Core/DatabaseScheduler.swift
	GRDB/Core/SerializedDatabase.swift
	GRDB/Core/Statement.swift
2016-07-08 18:30:16 +02:00
Gwendal Roué 34ff64b103 Rename DatabaseScheduler to SchedulingWatchdog 2016-07-08 18:22:34 +02:00
Gwendal Roué a288c8d7fb Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
Conflicts:
	GRDB/Core/Database.swift
	GRDB/Core/RowAdapter.swift
	README.md
	Tests/Public/Core/Row/AdapterRowTests.swift
	Tests/Public/Core/Row/RowConvertibleTests.swift
2016-07-08 16:57:16 +02:00
Gwendal Roué 88e8c2ba33 #80 cleanup 2016-07-08 16:10:38 +02:00
Gwendal Roué e664ab18ee Fixes #80 2016-07-08 14:30:45 +02:00