Files
GRDB.swift/GRDB/QueryInterface
Alex Robinson e2211aca21 Exclude LIMIT 1 in more cases
Adds a flag to SQLSelectQuery indicating that it expects a single record (for example when querying by primary or unique key).

Ensures that this example doesn't add an unnecessary LIMIT 1 to the resulting query:

    let request = Player.filter(key: 123) // or Player.filter(key: ["email": "me@example.com"])
    let player = try dbQueue.read { db in try request.fetchOne(db) }
2019-04-16 11:10:43 +10:00
..
2019-03-13 21:24:54 +01:00
2019-03-15 08:51:02 +01:00
2019-03-15 08:51:02 +01:00
2019-03-15 08:51:02 +01:00