Documentation ¶
Index ¶
Constants ¶
View Source
const ( ZeroTimeUCT = "0001-01-01 00:00:00" ZeroTimeUCTZone = ZeroTimeUCT + "+00:00:00" ZeroTimeCST = "0001-01-01 08:05:43" ZeroTimeCSTZone = ZeroTimeCST + "+08:05:43" )
View Source
const ( NotDeletedUCT = dbi.ColumnDeletedAt + " = '" + ZeroTimeUCT + "'" NotDeletedCST = dbi.ColumnDeletedAt + " = '" + ZeroTimeCST + "'" )
View Source
const ( WithNotDeletedUCT = ` AND ` + NotDeletedUCT WithNotDeletedCST = ` AND ` + NotDeletedUCT )
View Source
const ( // 创建一个删除指定用户名的public schema下的表的函数 DeleteTablesFunc = `` /* 339-byte string literal not displayed */ DeleteTables = `SELECT del_tabs('postgres')` // 创建一个清空指定用户名的public schema下的表的函数 TruncateTablesFunc = `` /* 378-byte string literal not displayed */ TruncateTables = `SELECT truncate_tables('postgres')` )
Variables ¶
This section is empty.
Functions ¶
func IsDuplicate ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.