tangled
alpha
login
or
join now
eldridge.cam
/
cartography
0
fork
atom
Trading card city builder game?
0
fork
atom
overview
issues
pulls
pipelines
regenerate squirrel
eldridge.cam
1 month ago
d89f5ffe
605998b3
0/0
Waiting for spindle ...
+14
-4
1 changed file
expand all
collapse all
unified
split
server
src
db
sql.gleam
+14
-4
server/src/db/sql.gleam
···
284
284
decode.success(GetCitizenRow(species_id:, name:, home_tile_id:, id:))
285
285
}
286
286
287
287
-
"SELECT * FROM citizens WHERE id = $1;
287
287
+
"SELECT
288
288
+
*
289
289
+
FROM
290
290
+
citizens
291
291
+
WHERE
292
292
+
id = $1;
288
293
"
289
294
|> pog.query
290
295
|> pog.parameter(pog.int(arg_1))
···
417
422
}
418
423
419
424
"SELECT
420
420
-
*
425
425
+
*
421
426
FROM
422
427
field_citizens
423
428
WHERE
···
471
476
}
472
477
473
478
"SELECT
474
474
-
*
479
479
+
*
475
480
FROM
476
481
field_tiles
477
482
WHERE
···
571
576
decode.success(GetTileRow(id:, tile_type_id:, name:))
572
577
}
573
578
574
574
-
"SELECT * FROM tiles WHERE id = $1;
579
579
+
"SELECT
580
580
+
*
581
581
+
FROM
582
582
+
tiles
583
583
+
WHERE
584
584
+
id = $1;
575
585
"
576
586
|> pog.query
577
587
|> pog.parameter(pog.int(arg_1))