Documentation ¶
Index ¶
- func DeleteAuthQuery() string
- func DeleteContractQuery() string
- func DeleteUserQuery() string
- func FormatLimitOffset(limit, offset int) string
- func FormatLimitPage(limit, page int) string
- func InsertAuthQuery() string
- func InsertContractQuery() string
- func InsertRevisionQuery() string
- func InsertStateQuery() string
- func InsertUserQuery() string
- func SelectAuthsQuery(whereConditions []string, limit, offset int) string
- func SelectContractsQuery(whereCondtions []string, limit, offset int) string
- func SelectRevisionsQuery(whereCondtions []string, limit, offset int) string
- func SelectStateByRevisionIDAndUserIDQuery() string
- func SelectUsersQuery(whereCondtions []string, limit, offset int) string
- func UpdateAuthQuery() string
- func UpdateContractQuery() string
- func UpdateStateQuery() string
- func UpdateUserQuery() string
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 ¶
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 ¶
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 SelectContractsQuery ¶
func SelectRevisionsQuery ¶
func SelectStateByRevisionIDAndUserIDQuery ¶
func SelectStateByRevisionIDAndUserIDQuery() string
func SelectUsersQuery ¶
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.
Click to show internal directories.
Click to hide internal directories.