query

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteAuthQuery

func DeleteAuthQuery() string

func DeleteContractQuery

func DeleteContractQuery() string

func DeleteUserQuery

func DeleteUserQuery() string

func FormatLimitOffset

func FormatLimitOffset(limit, offset int) string

FormatLimitOffset returns a SQL string for a given limit & offset. Clauses are only added if limit and/or offset are greater than zero.

func FormatLimitPage

func FormatLimitPage(limit, page int) string

FormatLimitPage returns a SQL string for a given limit & page.

func InsertAuthQuery

func InsertAuthQuery() string

func InsertContractQuery

func InsertContractQuery() string

func InsertRevisionQuery

func InsertRevisionQuery() string

func InsertStateQuery

func InsertStateQuery() string

func InsertUserQuery

func InsertUserQuery() string

func SelectAuthsQuery

func SelectAuthsQuery(whereConditions []string, limit, offset int) string

func SelectContractsQuery

func SelectContractsQuery(whereCondtions []string, limit, offset int) string

func SelectRevisionsQuery

func SelectRevisionsQuery(whereCondtions []string, limit, offset int) string

func SelectStateByRevisionIDAndUserIDQuery

func SelectStateByRevisionIDAndUserIDQuery() string

func SelectUsersQuery

func SelectUsersQuery(whereCondtions []string, limit, offset int) string

func UpdateAuthQuery

func UpdateAuthQuery() string

func UpdateContractQuery

func UpdateContractQuery() string

func UpdateStateQuery

func UpdateStateQuery() string

func UpdateUserQuery

func UpdateUserQuery() string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL