package
1.5.5
Repository: https://github.com/fragmenta/fragmenta-cms.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AllowedParams returns an array of allowed param keys for Update and Create.
Find fetches a single image record from the database by id.
FindAll fetches all image records matching this query from the database.
FindFirst fetches a single image record from the database using a where query with the format and args provided.
New creates and initialises a new image instance.
NewWithColumns creates a new image instance and fills it with data from the database cols provided.
Published returns a query for all images with status >= published.
Query returns a new query for images with a default order.
Where returns a new query for images with the format and arguments supplied.

# Constants

KeyName is the primary key value for this resource.
Order defines the default sort order in sql for this resource.
TableName is the database table for this resource.

# Structs

Image handles saving and retreiving images from the database.