Files
GRDB.swift/TODO.md
T
2015-09-30 19:42:05 +02:00

1.4 KiB

Not sure:

  • Since Records' primary key are infered, no operation is possible on the primary key unless we have a Database instance. It's impossible to define the record.primaryKey property, or to provide a copy() function that does not clone the primary key: they miss the database that is the only object aware of the primary key. Should we change our mind, and have Record explicitly expose their primary key again?

Require changes in the Swift language:

  • Turn DatabaseIntRepresentable and DatabaseStringRepresentable into SQLiteStatementConvertible when Swift allows for it.
  • Specific and optimized Optional.fetch... methods when rdar://22852669 is fixed.

Requires recompilation of SQLite: