# Functions
ContainerExists checks if the container is actually in the database.
ContainerUniqueName returns the unique name for the container.
DeserializeContainer attempts to convert the string in input in a container object.
DeserializeItemScoreArray attempts to convert a string into an array of ItemScore.
DeserializeLineErrorArray attempts to convert a string into an array of LineError.
DeserializeModel takes a JSON string in input and try to convert it to a Model object.
DeserializeSingleEntryArray returns an array of single entries object based on the data preview.
GetAllContainers returns all the containers in the database.
GetAllModels is a convenient functions to get all the models from DB.
GetContainer checks if an existing object already exists or not.
GetModel returns an already existing model to the caller.
ModelExists checks if the model exists in the database.
NewContainer creates a new container in the database.
NewModel is invoked when a new model is created in the database.
# Structs
Container is used simply as reference to understand where the models are connected to Models and Containers are separate entities that have a "fake" relationship.
Model is the object that acts as container for the metadata of each model.
RecordQueue is the object used to upload the data when coming from S3 with channels.
SingleEntry is the object used to unmarshal a single JSON line.