Gwendal Roué
8af33c4fc9
Introduce select(..., as:)
...
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)
2018-08-19 12:25:27 +02:00
..
2018-08-19 12:25:27 +02:00
2018-05-01 20:32:18 +02:00
2018-05-21 07:53:06 +02:00
2018-05-01 20:32:18 +02:00
2018-05-01 20:32:18 +02:00
2018-06-05 22:46:02 +02:00
2018-08-19 12:25:27 +02:00
2018-05-04 14:19:27 +02:00
2018-06-05 22:46:02 +02:00
2018-08-19 12:25:27 +02:00
2018-05-01 20:32:18 +02:00
2018-05-01 14:44:51 +02:00
2018-05-01 14:44:51 +02:00
2018-05-01 14:44:51 +02:00
2018-05-01 20:32:18 +02:00
2018-05-31 22:52:32 +02:00
2018-05-01 14:44:51 +02:00
2018-05-01 14:44:51 +02:00
2018-05-01 20:32:18 +02:00
2018-05-01 14:44:51 +02:00
2018-05-01 20:32:18 +02:00
2018-05-01 20:32:18 +02:00