Files
db/exp/truncate.go
T
2025-03-22 23:02:05 +08:00

12 lines
357 B
Go

package exp
// Options to use when generating a TRUNCATE statement
type TruncateOptions struct {
// Set to true to add CASCADE to the TRUNCATE statement
Cascade bool
// Set to true to add RESTRICT to the TRUNCATE statement
Restrict bool
// Set to true to specify IDENTITY options, (e.g. RESTART, CONTINUE) to the TRUNCATE statement
Identity string
}