dao

package
v0.0.0-...-5b4efa0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNotFound error when record not found
	ErrNotFound = fmt.Errorf("record Not Found")

	// ErrUnableToMarshalJSON error when json payload corrupt
	ErrUnableToMarshalJSON = fmt.Errorf("json payload corrupt")

	// ErrUpdateFailed error when update fails
	ErrUpdateFailed = fmt.Errorf("db update error")

	// ErrInsertFailed error when insert fails
	ErrInsertFailed = fmt.Errorf("db insert error")

	// ErrDeleteFailed error when delete fails
	ErrDeleteFailed = fmt.Errorf("db delete error")

	// ErrBadParams error when bad params passed in
	ErrBadParams = fmt.Errorf("bad params error")

	// DB reference to database
	DB *gorm.DB

	// AppBuildInfo reference to build info
	AppBuildInfo *BuildInfo

	// Logger function that will be invoked before executing sql
	Logger LogSql
)

Functions

func AddAuthToken

func AddAuthToken(DB *gorm.DB, record *model.AuthToken) (result *model.AuthToken, RowsAffected int64, err error)

AddAuthToken is a function to add a single record to auth_token table in the test database error - ErrInsertFailed, db save call failed

func AddAuthUser

func AddAuthUser(DB *gorm.DB, record *model.AuthUser) (result *model.AuthUser, RowsAffected int64, err error)

AddAuthUser is a function to add a single record to auth_user table in the test database error - ErrInsertFailed, db save call failed

func AddAuthUserLog

func AddAuthUserLog(DB *gorm.DB, record *model.AuthUserLog) (result *model.AuthUserLog, RowsAffected int64, err error)

AddAuthUserLog is a function to add a single record to auth_user_log table in the test database error - ErrInsertFailed, db save call failed

func AddAuthUserSocial

func AddAuthUserSocial(DB *gorm.DB, record *model.AuthUserSocial) (result *model.AuthUserSocial, RowsAffected int64, err error)

AddAuthUserSocial is a function to add a single record to auth_user_social table in the test database error - ErrInsertFailed, db save call failed

func AddBlackList

func AddBlackList(DB *gorm.DB, record *model.BlackList) (result *model.BlackList, RowsAffected int64, err error)

AddBlackList is a function to add a single record to black_list table in the test database error - ErrInsertFailed, db save call failed

func AddCategory

func AddCategory(DB *gorm.DB, record *model.Category) (result *model.Category, RowsAffected int64, err error)

AddCategory is a function to add a single record to category table in the test database error - ErrInsertFailed, db save call failed

func AddCategoryTags

func AddCategoryTags(DB *gorm.DB, record *model.CategoryTags) (result *model.CategoryTags, RowsAffected int64, err error)

AddCategoryTags is a function to add a single record to category_tags table in the test database error - ErrInsertFailed, db save call failed

func AddConfig

func AddConfig(DB *gorm.DB, record *model.Config) (result *model.Config, RowsAffected int64, err error)

AddConfig is a function to add a single record to config table in the test database error - ErrInsertFailed, db save call failed

func AddFriendshipLink(DB *gorm.DB, record *model.FriendshipLink) (result *model.FriendshipLink, RowsAffected int64, err error)

AddFriendshipLink is a function to add a single record to friendship_link table in the test database error - ErrInsertFailed, db save call failed

func AddMenu

func AddMenu(DB *gorm.DB, record *model.Menu) (result *model.Menu, RowsAffected int64, err error)

AddMenu is a function to add a single record to menu table in the test database error - ErrInsertFailed, db save call failed

func AddPosts

func AddPosts(DB *gorm.DB, record *model.Posts) (result *model.Posts, RowsAffected int64, err error)

AddPosts is a function to add a single record to posts table in the test database error - ErrInsertFailed, db save call failed

func AddPostsAttribute

func AddPostsAttribute(DB *gorm.DB, record *model.PostsAttribute) (result *model.PostsAttribute, RowsAffected int64, err error)

AddPostsAttribute is a function to add a single record to posts_attribute table in the test database error - ErrInsertFailed, db save call failed

func AddPostsComments

func AddPostsComments(DB *gorm.DB, record *model.PostsComments) (result *model.PostsComments, RowsAffected int64, err error)

AddPostsComments is a function to add a single record to posts_comments table in the test database error - ErrInsertFailed, db save call failed

func AddPostsTags

func AddPostsTags(DB *gorm.DB, record *model.PostsTags) (result *model.PostsTags, RowsAffected int64, err error)

AddPostsTags is a function to add a single record to posts_tags table in the test database error - ErrInsertFailed, db save call failed

func AddTags

func AddTags(DB *gorm.DB, record *model.Tags) (result *model.Tags, RowsAffected int64, err error)

AddTags is a function to add a single record to tags table in the test database error - ErrInsertFailed, db save call failed

func CategoryCond

func CategoryCond(c *model.Category) func(*gorm.DB) *gorm.DB

func CommentsCond

func CommentsCond(c *model.PostsComments) func(*gorm.DB) *gorm.DB

func Copy

func Copy(dst interface{}, src interface{}) error

Copy a src struct into a destination struct

func DeleteAuthToken

func DeleteAuthToken(DB *gorm.DB, argId int64) (rowsAffected int64, err error)

DeleteAuthToken is a function to delete a single record from auth_token table in the test database error - ErrNotFound, db Find error error - ErrDeleteFailed, db Delete failed error

func DeleteAuthUser

func DeleteAuthUser(DB *gorm.DB, argId int64) (rowsAffected int64, err error)

DeleteAuthUser is a function to delete a single record from auth_user table in the test database error - ErrNotFound, db Find error error - ErrDeleteFailed, db Delete failed error

func DeleteAuthUserLog

func DeleteAuthUserLog(DB *gorm.DB, argId int64) (rowsAffected int64, err error)

DeleteAuthUserLog is a function to delete a single record from auth_user_log table in the test database error - ErrNotFound, db Find error error - ErrDeleteFailed, db Delete failed error

func DeleteAuthUserSocial

func DeleteAuthUserSocial(DB *gorm.DB, argId int64) (rowsAffected int64, err error)

DeleteAuthUserSocial is a function to delete a single record from auth_user_social table in the test database error - ErrNotFound, db Find error error - ErrDeleteFailed, db Delete failed error

func DeleteBlackList

func DeleteBlackList(DB *gorm.DB, argId int64) (rowsAffected int64, err error)

DeleteBlackList is a function to delete a single record from black_list table in the test database error - ErrNotFound, db Find error error - ErrDeleteFailed, db Delete failed error

func DeleteCategory

func DeleteCategory(DB *gorm.DB, argId int64) (rowsAffected int64, err error)

DeleteCategory is a function to delete a single record from category table in the test database error - ErrNotFound, db Find error error - ErrDeleteFailed, db Delete failed error

func DeleteCategoryTags

func DeleteCategoryTags(DB *gorm.DB, argId int64) (rowsAffected int64, err error)

DeleteCategoryTags is a function to delete a single record from category_tags table in the test database error - ErrNotFound, db Find error error - ErrDeleteFailed, db Delete failed error

func DeleteConfig

func DeleteConfig(DB *gorm.DB, argId int64) (rowsAffected int64, err error)

DeleteConfig is a function to delete a single record from config table in the test database error - ErrNotFound, db Find error error - ErrDeleteFailed, db Delete failed error

func DeleteFriendshipLink(DB *gorm.DB, argId int64) (rowsAffected int64, err error)

DeleteFriendshipLink is a function to delete a single record from friendship_link table in the test database error - ErrNotFound, db Find error error - ErrDeleteFailed, db Delete failed error

func DeleteMenu

func DeleteMenu(DB *gorm.DB, argId int64) (rowsAffected int64, err error)

DeleteMenu is a function to delete a single record from menu table in the test database error - ErrNotFound, db Find error error - ErrDeleteFailed, db Delete failed error

func DeletePosts

func DeletePosts(DB *gorm.DB, argId int64) (rowsAffected int64, err error)

DeletePosts is a function to delete a single record from posts table in the test database error - ErrNotFound, db Find error error - ErrDeleteFailed, db Delete failed error

func DeletePostsAttribute

func DeletePostsAttribute(DB *gorm.DB, argId int64) (rowsAffected int64, err error)

DeletePostsAttribute is a function to delete a single record from posts_attribute table in the test database error - ErrNotFound, db Find error error - ErrDeleteFailed, db Delete failed error

func DeletePostsComments

func DeletePostsComments(DB *gorm.DB, argId int64) (rowsAffected int64, err error)

DeletePostsComments is a function to delete a single record from posts_comments table in the test database error - ErrNotFound, db Find error error - ErrDeleteFailed, db Delete failed error

func DeletePostsTags

func DeletePostsTags(DB *gorm.DB, argId int64) (rowsAffected int64, err error)

DeletePostsTags is a function to delete a single record from posts_tags table in the test database error - ErrNotFound, db Find error error - ErrDeleteFailed, db Delete failed error

func DeleteTags

func DeleteTags(DB *gorm.DB, argId int64) (rowsAffected int64, err error)

DeleteTags is a function to delete a single record from tags table in the test database error - ErrNotFound, db Find error error - ErrDeleteFailed, db Delete failed error

func GetAllAuthToken

func GetAllAuthToken(DB *gorm.DB, page, pagesize int, order string) (results []*model.AuthToken, totalRows int64, err error)

GetAllAuthToken is a function to get a slice of record(s) from auth_token table in the test database params - page - page requested (defaults to 0) params - pagesize - number of records in a page (defaults to 20) params - order - db sort order column error - ErrNotFound, db Find error

func GetAllAuthUser

func GetAllAuthUser(DB *gorm.DB, page, pagesize int, order string) (results []*model.AuthUser, totalRows int64, err error)

GetAllAuthUser is a function to get a slice of record(s) from auth_user table in the test database params - page - page requested (defaults to 0) params - pagesize - number of records in a page (defaults to 20) params - order - db sort order column error - ErrNotFound, db Find error

func GetAllAuthUserLog

func GetAllAuthUserLog(DB *gorm.DB, page, pagesize int, order string) (results []*model.AuthUserLog, totalRows int64, err error)

GetAllAuthUserLog is a function to get a slice of record(s) from auth_user_log table in the test database params - page - page requested (defaults to 0) params - pagesize - number of records in a page (defaults to 20) params - order - db sort order column error - ErrNotFound, db Find error

func GetAllAuthUserSocial

func GetAllAuthUserSocial(DB *gorm.DB, page, pagesize int, order string) (results []*model.AuthUserSocial, totalRows int64, err error)

GetAllAuthUserSocial is a function to get a slice of record(s) from auth_user_social table in the test database params - page - page requested (defaults to 0) params - pagesize - number of records in a page (defaults to 20) params - order - db sort order column error - ErrNotFound, db Find error

func GetAllBlackList

func GetAllBlackList(DB *gorm.DB, page, pagesize int, order string) (results []*model.BlackList, totalRows int64, err error)

GetAllBlackList is a function to get a slice of record(s) from black_list table in the test database params - page - page requested (defaults to 0) params - pagesize - number of records in a page (defaults to 20) params - order - db sort order column error - ErrNotFound, db Find error

func GetAllCategory

func GetAllCategory(DB *gorm.DB, page, pagesize int, order string) (results []*model.Category, totalRows int64, err error)

GetAllCategory is a function to get a slice of record(s) from category table in the test database params - page - page requested (defaults to 0) params - pagesize - number of records in a page (defaults to 20) params - order - db sort order column error - ErrNotFound, db Find error

func GetAllCategoryTags

func GetAllCategoryTags(DB *gorm.DB, page, pagesize int, order string) (results []*model.CategoryTags, totalRows int64, err error)

GetAllCategoryTags is a function to get a slice of record(s) from category_tags table in the test database params - page - page requested (defaults to 0) params - pagesize - number of records in a page (defaults to 20) params - order - db sort order column error - ErrNotFound, db Find error

func GetAllConfig

func GetAllConfig(DB *gorm.DB, page, pagesize int, order string) (results []*model.Config, totalRows int64, err error)

GetAllConfig is a function to get a slice of record(s) from config table in the test database params - page - page requested (defaults to 0) params - pagesize - number of records in a page (defaults to 20) params - order - db sort order column error - ErrNotFound, db Find error

func GetAllFriendshipLink(DB *gorm.DB, page, pagesize int, order string) (results []*model.FriendshipLink, totalRows int64, err error)

GetAllFriendshipLink is a function to get a slice of record(s) from friendship_link table in the test database params - page - page requested (defaults to 0) params - pagesize - number of records in a page (defaults to 20) params - order - db sort order column error - ErrNotFound, db Find error

func GetAllMenu

func GetAllMenu(DB *gorm.DB, page, pagesize int, order string) (results []*model.Menu, totalRows int64, err error)

GetAllMenu is a function to get a slice of record(s) from menu table in the test database params - page - page requested (defaults to 0) params - pagesize - number of records in a page (defaults to 20) params - order - db sort order column error - ErrNotFound, db Find error

func GetAllPosts

func GetAllPosts(DB *gorm.DB, page, pagesize int, order string) (results []*model.Posts, totalRows int64, err error)

GetAllPosts is a function to get a slice of record(s) from posts table in the test database params - page - page requested (defaults to 0) params - pagesize - number of records in a page (defaults to 20) params - order - db sort order column error - ErrNotFound, db Find error

func GetAllPostsAttribute

func GetAllPostsAttribute(DB *gorm.DB, page, pagesize int, order string) (results []*model.PostsAttribute, totalRows int64, err error)

GetAllPostsAttribute is a function to get a slice of record(s) from posts_attribute table in the test database params - page - page requested (defaults to 0) params - pagesize - number of records in a page (defaults to 20) params - order - db sort order column error - ErrNotFound, db Find error

func GetAllPostsComments

func GetAllPostsComments(DB *gorm.DB, page, pagesize int, order string) (results []*model.PostsComments, totalRows int64, err error)

GetAllPostsComments is a function to get a slice of record(s) from posts_comments table in the test database params - page - page requested (defaults to 0) params - pagesize - number of records in a page (defaults to 20) params - order - db sort order column error - ErrNotFound, db Find error

func GetAllPostsTags

func GetAllPostsTags(DB *gorm.DB, page, pagesize int, order string) (results []*model.PostsTags, totalRows int64, err error)

GetAllPostsTags is a function to get a slice of record(s) from posts_tags table in the test database params - page - page requested (defaults to 0) params - pagesize - number of records in a page (defaults to 20) params - order - db sort order column error - ErrNotFound, db Find error

func GetAllTags

func GetAllTags(DB *gorm.DB, page, pagesize int, order string) (results []*model.Tags, totalRows int64, err error)

GetAllTags is a function to get a slice of record(s) from tags table in the test database params - page - page requested (defaults to 0) params - pagesize - number of records in a page (defaults to 20) params - order - db sort order column error - ErrNotFound, db Find error

func GetAuthToken

func GetAuthToken(DB *gorm.DB, argId int64) (record *model.AuthToken, err error)

GetAuthToken is a function to get a single record from the auth_token table in the test database error - ErrNotFound, db Find error

func GetAuthUser

func GetAuthUser(DB *gorm.DB, argId int64) (record *model.AuthUser, err error)

GetAuthUser is a function to get a single record from the auth_user table in the test database error - ErrNotFound, db Find error

func GetAuthUserLog

func GetAuthUserLog(DB *gorm.DB, argId int64) (record *model.AuthUserLog, err error)

GetAuthUserLog is a function to get a single record from the auth_user_log table in the test database error - ErrNotFound, db Find error

func GetAuthUserSocial

func GetAuthUserSocial(DB *gorm.DB, argId int64) (record *model.AuthUserSocial, err error)

GetAuthUserSocial is a function to get a single record from the auth_user_social table in the test database error - ErrNotFound, db Find error

func GetBlackList

func GetBlackList(DB *gorm.DB, argId int64) (record *model.BlackList, err error)

GetBlackList is a function to get a single record from the black_list table in the test database error - ErrNotFound, db Find error

func GetCategory

func GetCategory(DB *gorm.DB, argId int64) (record *model.Category, err error)

GetCategory is a function to get a single record from the category table in the test database error - ErrNotFound, db Find error

func GetCategoryTags

func GetCategoryTags(DB *gorm.DB, argId int64) (record *model.CategoryTags, err error)

GetCategoryTags is a function to get a single record from the category_tags table in the test database error - ErrNotFound, db Find error

func GetConfig

func GetConfig(DB *gorm.DB, argId int64) (record *model.Config, err error)

GetConfig is a function to get a single record from the config table in the test database error - ErrNotFound, db Find error

func GetFriendshipLink(DB *gorm.DB, argId int64) (record *model.FriendshipLink, err error)

GetFriendshipLink is a function to get a single record from the friendship_link table in the test database error - ErrNotFound, db Find error

func GetMenu

func GetMenu(DB *gorm.DB, argId int64) (record *model.Menu, err error)

GetMenu is a function to get a single record from the menu table in the test database error - ErrNotFound, db Find error

func GetPosts

func GetPosts(DB *gorm.DB, argId int64) (record *model.Posts, err error)

GetPosts is a function to get a single record from the posts table in the test database error - ErrNotFound, db Find error

func GetPostsAttribute

func GetPostsAttribute(DB *gorm.DB, argId int64) (record *model.PostsAttribute, err error)

GetPostsAttribute is a function to get a single record from the posts_attribute table in the test database error - ErrNotFound, db Find error

func GetPostsComments

func GetPostsComments(DB *gorm.DB, argId int64) (record *model.PostsComments, err error)

GetPostsComments is a function to get a single record from the posts_comments table in the test database error - ErrNotFound, db Find error

func GetPostsTags

func GetPostsTags(DB *gorm.DB, argId int64) (record *model.PostsTags, err error)

GetPostsTags is a function to get a single record from the posts_tags table in the test database error - ErrNotFound, db Find error

func GetTags

func GetTags(DB *gorm.DB, argId int64) (record *model.Tags, err error)

GetTags is a function to get a single record from the tags table in the test database error - ErrNotFound, db Find error

func LinkCond

func LinkCond(l *model.FriendshipLink) func(*gorm.DB) *gorm.DB

func LogsCond

func LogsCond(l *model.AuthUserLog) func(*gorm.DB) *gorm.DB
func MenuCond(m *model.Menu) func(*gorm.DB) *gorm.DB

func Paginate

func Paginate(page *reply.PageInfo) func(*gorm.DB) *gorm.DB

func PostsCond

func PostsCond(p *model.Posts) func(*gorm.DB) *gorm.DB

func SocialCond

func SocialCond(s *model.AuthUserSocial) func(*gorm.DB) *gorm.DB

func TagsCond

func TagsCond(t *model.Tags) func(*gorm.DB) *gorm.DB

func UpdateAuthToken

func UpdateAuthToken(DB *gorm.DB, argId int64, updated *model.AuthToken) (result *model.AuthToken, RowsAffected int64, err error)

UpdateAuthToken is a function to update a single record from auth_token table in the test database error - ErrNotFound, db record for id not found error - ErrUpdateFailed, db meta data copy failed or db.Save call failed

func UpdateAuthUser

func UpdateAuthUser(DB *gorm.DB, argId int64, updated *model.AuthUser) (result *model.AuthUser, RowsAffected int64, err error)

UpdateAuthUser is a function to update a single record from auth_user table in the test database error - ErrNotFound, db record for id not found error - ErrUpdateFailed, db meta data copy failed or db.Save call failed

func UpdateAuthUserLog

func UpdateAuthUserLog(DB *gorm.DB, argId int64, updated *model.AuthUserLog) (result *model.AuthUserLog, RowsAffected int64, err error)

UpdateAuthUserLog is a function to update a single record from auth_user_log table in the test database error - ErrNotFound, db record for id not found error - ErrUpdateFailed, db meta data copy failed or db.Save call failed

func UpdateAuthUserSocial

func UpdateAuthUserSocial(DB *gorm.DB, argId int64, updated *model.AuthUserSocial) (result *model.AuthUserSocial, RowsAffected int64, err error)

UpdateAuthUserSocial is a function to update a single record from auth_user_social table in the test database error - ErrNotFound, db record for id not found error - ErrUpdateFailed, db meta data copy failed or db.Save call failed

func UpdateBlackList

func UpdateBlackList(DB *gorm.DB, argId int64, updated *model.BlackList) (result *model.BlackList, RowsAffected int64, err error)

UpdateBlackList is a function to update a single record from black_list table in the test database error - ErrNotFound, db record for id not found error - ErrUpdateFailed, db meta data copy failed or db.Save call failed

func UpdateCategory

func UpdateCategory(DB *gorm.DB, argId int64, updated *model.Category) (result *model.Category, RowsAffected int64, err error)

UpdateCategory is a function to update a single record from category table in the test database error - ErrNotFound, db record for id not found error - ErrUpdateFailed, db meta data copy failed or db.Save call failed

func UpdateCategoryTags

func UpdateCategoryTags(DB *gorm.DB, argId int64, updated *model.CategoryTags) (result *model.CategoryTags, RowsAffected int64, err error)

UpdateCategoryTags is a function to update a single record from category_tags table in the test database error - ErrNotFound, db record for id not found error - ErrUpdateFailed, db meta data copy failed or db.Save call failed

func UpdateConfig

func UpdateConfig(DB *gorm.DB, argId int64, updated *model.Config) (result *model.Config, RowsAffected int64, err error)

UpdateConfig is a function to update a single record from config table in the test database error - ErrNotFound, db record for id not found error - ErrUpdateFailed, db meta data copy failed or db.Save call failed

func UpdateFriendshipLink(DB *gorm.DB, argId int64, updated *model.FriendshipLink) (result *model.FriendshipLink, RowsAffected int64, err error)

UpdateFriendshipLink is a function to update a single record from friendship_link table in the test database error - ErrNotFound, db record for id not found error - ErrUpdateFailed, db meta data copy failed or db.Save call failed

func UpdateMenu

func UpdateMenu(DB *gorm.DB, argId int64, updated *model.Menu) (result *model.Menu, RowsAffected int64, err error)

UpdateMenu is a function to update a single record from menu table in the test database error - ErrNotFound, db record for id not found error - ErrUpdateFailed, db meta data copy failed or db.Save call failed

func UpdatePosts

func UpdatePosts(DB *gorm.DB, argId int64, updated *model.Posts) (result *model.Posts, RowsAffected int64, err error)

UpdatePosts is a function to update a single record from posts table in the test database error - ErrNotFound, db record for id not found error - ErrUpdateFailed, db meta data copy failed or db.Save call failed

func UpdatePostsAttribute

func UpdatePostsAttribute(DB *gorm.DB, argId int64, updated *model.PostsAttribute) (result *model.PostsAttribute, RowsAffected int64, err error)

UpdatePostsAttribute is a function to update a single record from posts_attribute table in the test database error - ErrNotFound, db record for id not found error - ErrUpdateFailed, db meta data copy failed or db.Save call failed

func UpdatePostsComments

func UpdatePostsComments(DB *gorm.DB, argId int64, updated *model.PostsComments) (result *model.PostsComments, RowsAffected int64, err error)

UpdatePostsComments is a function to update a single record from posts_comments table in the test database error - ErrNotFound, db record for id not found error - ErrUpdateFailed, db meta data copy failed or db.Save call failed

func UpdatePostsTags

func UpdatePostsTags(DB *gorm.DB, argId int64, updated *model.PostsTags) (result *model.PostsTags, RowsAffected int64, err error)

UpdatePostsTags is a function to update a single record from posts_tags table in the test database error - ErrNotFound, db record for id not found error - ErrUpdateFailed, db meta data copy failed or db.Save call failed

func UpdateTags

func UpdateTags(DB *gorm.DB, argId int64, updated *model.Tags) (result *model.Tags, RowsAffected int64, err error)

UpdateTags is a function to update a single record from tags table in the test database error - ErrNotFound, db record for id not found error - ErrUpdateFailed, db meta data copy failed or db.Save call failed

func UserCond

func UserCond(u *model.AuthUser) func(*gorm.DB) *gorm.DB

Types

type BuildInfo

type BuildInfo struct {

	// BuildDate date string of when build was performed filled in by -X compile flag
	BuildDate string

	// LatestCommit date string of when build was performed filled in by -X compile flag
	LatestCommit string

	// BuildNumber date string of when build was performed filled in by -X compile flag
	BuildNumber string

	// BuiltOnIP date string of when build was performed filled in by -X compile flag
	BuiltOnIP string

	// BuiltOnOs date string of when build was performed filled in by -X compile flag
	BuiltOnOs string

	// RuntimeVer date string of when build was performed filled in by -X compile flag
	RuntimeVer string
}

BuildInfo is used to define the application build info, and inject values into via the build process.

type LogSql

type LogSql func(DB *gorm.DB, sql string)

Jump to

Keyboard shortcuts

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