septastic/api/.sqlx/query-625a3e7d5d5b1a58ca99dc533c09b181079f16ec7a24bd19b86c7fbf51d9226a.json
Nicholas Orlowsky c089f62164
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 21m51s
add sqlx
2025-09-12 20:17:57 -04:00

85 lines
2.5 KiB
JSON

{
"db_name": "PostgreSQL",
"query": "SELECT \n septa_stop_schedules.route_id,\n septa_stops.name as stop_name,\n trip_id, \n service_id, \n septa_stop_schedules.direction_id,\n septa_directions.direction as \"direction: libseptastic::direction::CardinalDirection\", \n arrival_time,\n stop_id,\n stop_sequence\n FROM \n septa_stop_schedules\n INNER JOIN septa_directions\n ON \n septa_directions.direction_id = septa_stop_schedules.direction_id\n AND\n septa_directions.route_id = septa_stop_schedules.route_id\n INNER JOIN septa_stops \n ON septa_stops.id = septa_stop_schedules.stop_id\n WHERE \n septa_stop_schedules.route_id = $1\n AND\n service_id IN (SELECT service_id FROM septa_schedule_days WHERE date = '20250707')\n ;",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "route_id",
"type_info": "Text"
},
{
"ordinal": 1,
"name": "stop_name",
"type_info": "Varchar"
},
{
"ordinal": 2,
"name": "trip_id",
"type_info": "Text"
},
{
"ordinal": 3,
"name": "service_id",
"type_info": "Text"
},
{
"ordinal": 4,
"name": "direction_id",
"type_info": "Int8"
},
{
"ordinal": 5,
"name": "direction: libseptastic::direction::CardinalDirection",
"type_info": {
"Custom": {
"name": "septa_direction_type",
"kind": {
"Enum": [
"northbound",
"southbound",
"eastbound",
"westbound",
"inbound",
"outbound",
"loop"
]
}
}
}
},
{
"ordinal": 6,
"name": "arrival_time",
"type_info": "Int8"
},
{
"ordinal": 7,
"name": "stop_id",
"type_info": "Int8"
},
{
"ordinal": 8,
"name": "stop_sequence",
"type_info": "Int8"
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false
]
},
"hash": "625a3e7d5d5b1a58ca99dc533c09b181079f16ec7a24bd19b86c7fbf51d9226a"
}