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 page record from the database by id.
FindAll fetches all page records matching this query from the database.
FindFirst fetches a single page record from the database using a where query with the format and args provided.
New creates and initialises a new page instance.
NewWithColumns creates a new page instance and fills it with data from the database cols provided.
Published returns a query for all pages with status >= published.
Query returns a new query for pages with a default order.
Where returns a new query for pages 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

Page handles saving and retreiving pages from the database.