Module gtfs_server::routes::api::db[][src]

/db related routes

Statics

static_rocket_route_info_for_update

Rocket code generated static route information structure.

static_rocket_route_info_for_version

Rocket code generated static route information structure.

Functions

update

/db/update Updates the DB schema. This operation should be performed after each update because the DB may have been updated. Returns a SuccessResult

version

/db/version Returns the current DB version Returns a Result<i32>