Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthOpLogsDAO ¶
type AuthOpLogsDAO struct {
// contains filtered or unexported fields
}
func NewAuthOpLogsDAO ¶
func NewAuthOpLogsDAO(db *sqlx.DB) *AuthOpLogsDAO
func (*AuthOpLogsDAO) Insert ¶
func (dao *AuthOpLogsDAO) Insert(ctx context.Context, do *dataobject.AuthOpLogsDO) (lastInsertId, rowsAffected int64, err error)
Insert insert into auth_op_logs(auth_key_id, ip, op_type, log_text) values (:auth_key_id, :ip, :op_type, :log_text) TODO(@benqi): sqlmap
func (*AuthOpLogsDAO) InsertTx ¶
func (dao *AuthOpLogsDAO) InsertTx(tx *sqlx.Tx, do *dataobject.AuthOpLogsDO) (lastInsertId, rowsAffected int64, err error)
InsertTx insert into auth_op_logs(auth_key_id, ip, op_type, log_text) values (:auth_key_id, :ip, :op_type, :log_text) TODO(@benqi): sqlmap
Click to show internal directories.
Click to hide internal directories.