mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Record.select(..., as: Value.self) is equivalent to Record.select(...).asRequest(of: Value.self).
It somewhat improves the readability of some requests:
Player.select(max(Column("score")), as: Int.self)