Documentation ¶
Index ¶
Constants ¶
View Source
const ( FieldSql = "Sql" FieldExecutorID = "ExecutorID" FieldExecutorName = "ExecutorName" FieldExecutedTime = "ExecutedTime" )
Variables ¶
View Source
var ( ColumnSql = domain.ColumnName(FieldSql) ColumnExecutorID = domain.ColumnName(FieldExecutorID) ColumnExecutorName = domain.ColumnName(FieldExecutorName) ColumnExecutedTime = domain.ColumnName(FieldExecutedTime) )
Functions ¶
func Bind ¶ added in v0.11.20
func Bind(app *application.App, simple *Simple)
Types ¶
type ExecuteSqlJsonBody ¶
type SqlExecuteLog ¶
type SqlExecuteLog struct { value_object.Base Sql string `sqlmapping:"column:sql;" sqlresult:"column:sql;" check:"required,when=create"` ExecutorID string `sqlmapping:"column:executor_id;" sqlresult:"column:executor_id;" check:"required,len=32,when=create"` ExecutorName string `sqlmapping:"column:executor_name;" sqlresult:"column:executor_name;" check:"required,lte=256,when=create"` ExecutedTime time.Time `sqlmapping:"column:executed_time;" sqlresult:"column:executed_time;"` }
func (*SqlExecuteLog) DomainCNName ¶
func (sqlExecuteLog *SqlExecuteLog) DomainCNName() string
func (*SqlExecuteLog) DomainCamelName ¶
func (sqlExecuteLog *SqlExecuteLog) DomainCamelName() string
func (*SqlExecuteLog) GetFieldMap ¶ added in v1.1.0
func (sqlExecuteLog *SqlExecuteLog) GetFieldMap() map[string]string
Click to show internal directories.
Click to hide internal directories.