Adds a category to the database
Adds a category to the database
The newly created category including the id
Adds a mapping between a parameter and a category
Adds a mapping between a parameter and a category
The newly created mapping with id
Creates a parameter in the database.
Creates a parameter in the database.
the created parameter that includes the generated id
Deletes all paraeter_categories mappings in the database given an id and then removes the parameter from parameters table
Deletes all paraeter_categories mappings in the database given an id and then removes the parameter from parameters table
of the parameter
Gets all categories in the categories table in the database
Gets all categories in the categories table in the database
a List of Category Models.
Gets all category parameter mappings
Gets all category parameter mappings
The list of all the mappings in parameter_categories table in the database
Gets all parameters available in the database
Gets all parameters available in the database
all parameters in the parameters table.
Finds a category by name and type
Finds a category by name and type
of the category
of the category
Some[CategoryModel] if found, None if it isn't
Gets all mappings associated with a parameter Id
Gets all mappings associated with a parameter Id
a List of mappings for the given parameter Id
Gets a parameter given its id
Gets a parameter given its id
Some(ParameterModel) if it is found, None if it isn't.
Finds a parameter given the short name
Finds a parameter given the short name
the parameter if found in the database, None if it is not found
Updates all fields of a parameter given a model
Updates all fields of a parameter given a model