package
0.0.0-20240724121106-8b35fd58b80a
Repository: https://github.com/warpcomdev/videoapi.git
Documentation: pkg.go.dev

# Functions

Adapt builds a resource for the given model.
New creates a Resource for the given table.

# Structs

Adaptor matches store.Resource to crud.Resource.
IntDbType represents an integer column.
JsonDbType represents a string column with json format.
QueryError encapsulates error in oracle Query.
SQLResource manages database operations in a givem table.
StringDbType represents a string column.
TimeDbType represents a time.Time column.

# Interfaces

DBType represents a database column type that can be filtered.
EditableModel is a pointer to a Model, that allows modifications.
Executor is an interface used by Post, Put and Delete.
Model represents any database table with an ID.
Querier is the interface used by GetById and Get.
Resource implements the CRUD operations.
No description provided by the author
Transaction is an interface used by Post, Put and Delete.

# Type aliases

Set of all fields that can be used as filter.
Limiter builds a "LIMIT X, OFFSET Y" clause.