Tables
create_table_booking_curve
Source code in passengersim/database/tables.py
create_table_bookings_by_timeframe
Source code in passengersim/database/tables.py
create_table_configs
Source code in passengersim/database/tables.py
create_table_demand_detail
Source code in passengersim/database/tables.py
create_table_distance
Source code in passengersim/database/tables.py
create_table_fare_defs
Create and populate a static database table of fares.
The contents of this table is static input data, used but not mutated by the simulator.
Parameters:
-
cnx
(Database
) – -
fares
(Iterable[Fare]
, default:None
) –The fares to store in the database.
Source code in passengersim/database/tables.py
create_table_fare_detail
Source code in passengersim/database/tables.py
create_table_leg_bucket_detail
Source code in passengersim/database/tables.py
create_table_leg_defs
Source code in passengersim/database/tables.py
create_table_leg_detail
Create the leg_detail
table in the database.
Parameters:
-
cnx
(Database
) – -
primary_key
(bool
, default:False
) –