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 BindSqlExecutor ¶
func BindSqlExecutor(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"` ExecutorID string `sqlmapping:"column:executor_id;" sqlresult:"column:executor_id;" check:"required,len=32"` ExecutorName string `sqlmapping:"column:executor_name;" sqlresult:"column:executor_name;" check:"required,lte=256"` 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) ForCreate ¶
func (sqlExecuteLog *SqlExecuteLog) ForCreate() error
Click to show internal directories.
Click to hide internal directories.