🐿️ Type safe SQL in Gleam
79

Configure Feed

Select the types of activity you want to include in your feed.

update test

Giacomo Cavalieri (May 18, 2025, 6:58 PM +0200) aa3ea65f ddbc7fc8

+3 -7
+2 -4
birdie_snapshots/fields_appear_in_the_order_they_have_in_the_select_list.accepted
··· 1 1 --- 2 - version: 1.2.5 2 + version: 1.3.0 3 3 title: fields appear in the order they have in the select list 4 4 file: ./test/squirrel_test.gleam 5 5 test_name: fields_appear_in_the_order_they_have_in_the_select_list_test ··· 31 31 decode.success(QueryRow(first:, second:, third:)) 32 32 } 33 33 34 - " 35 - select true as first, 1 as second, 'wibble' as third 36 - " 34 + "select true as first, 1 as second, 'wibble' as third" 37 35 |> pog.query 38 36 |> pog.returning(decoder) 39 37 |> pog.execute(db)
+1 -3
test/squirrel_test.gleam
··· 522 522 } 523 523 524 524 pub fn fields_appear_in_the_order_they_have_in_the_select_list_test() { 525 - " 526 - select true as first, 1 as second, 'wibble' as third 527 - " 525 + "select true as first, 1 as second, 'wibble' as third" 528 526 |> should_codegen 529 527 |> birdie.snap( 530 528 title: "fields appear in the order they have in the select list",