Slick mapping definition for the Vehicle table
Slick mapping definition for the Vehicle table
Add a new VIN to SOTA.
Add a new VIN to SOTA.
The VIN of the vehicle
Delete a VIN from SOTA.
Delete a VIN from SOTA. Note that this doesn't perform a cascading delete. You should delete any objects that reference this vehicle first.
The VIN to remove
Check if a VIN exists
Check if a VIN exists
The namespaced VIN to search for
Option.Some if the vehicle is present. Option.None if it is absent
List all the VINs that are known to the system
List all the VINs that are known to the system
A list of Vehicles
Find VINs that match a regular expression
Find VINs that match a regular expression
A regular expression
A list of matching VINs
Internal helper definition to access the SQL table
Database mapping definition for the Vehicles table. The Vehicles table is simple: it only contains the list of the vehicles (VINs) that are known to the SOTA system. Other tables that refer to VINs should have a foreign key into this table