···11---
22-version: 1.2.5
22+version: 1.3.0
33title: fields appear in the order they have in the select list
44file: ./test/squirrel_test.gleam
55test_name: fields_appear_in_the_order_they_have_in_the_select_list_test
···3131 decode.success(QueryRow(first:, second:, third:))
3232 }
33333434- "
3535-select true as first, 1 as second, 'wibble' as third
3636-"
3434+ "select true as first, 1 as second, 'wibble' as third"
3735 |> pog.query
3836 |> pog.returning(decoder)
3937 |> pog.execute(db)
+1-3
test/squirrel_test.gleam
···522522}
523523524524pub fn fields_appear_in_the_order_they_have_in_the_select_list_test() {
525525- "
526526-select true as first, 1 as second, 'wibble' as third
527527-"
525525+ "select true as first, 1 as second, 'wibble' as third"
528526 |> should_codegen
529527 |> birdie.snap(
530528 title: "fields appear in the order they have in the select list",