-record('query', { table :: binary(), columns :: any(), joins :: list(starmap@query:join()), wheres :: list(starmap@query:converted_where(any())), order_by :: list({starmap@query:table_column(), binary()}), group_by :: list(starmap@query:table_column()), limit :: gleam@option:option(integer()) }).