islatest

package
v0.0.0-...-09ecf48 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

README

The db schema

schema

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFilterSelectEntityOneNamedQuery

func GetFilterSelectEntityOneNamedQuery(
	entityIDs []int64,
	isStatusIDs []int,
) (map[string]interface{}, string)

GetFilterSelectEntityOneNamedQuery returns query filter and params for the query

func SaveStatus

func SaveStatus(
	ctx context.Context,
	exec *sqlx.Tx,
	entityID int64,
	actionID int,
	statusID int,
) (err error)

SaveStatus will save the status in database for the selected entity

func SelectEntityone

func SelectEntityone(
	ctx context.Context,
	q *sqlx.DB,
	entityIDs []int64,
	isStatusIDs []int,
	notStatusIDs []int,
	neverStatusIDs []int,
	hasStatusIDs []int,
	limit int,
) (*sqlx.Rows, error)

SelectEntityone retrieves a slice of entityones

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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