...

Source file src/github.com/doug-martin/goqu/v9/exp/truncate.go

Documentation: github.com/doug-martin/goqu/v9/exp

     1  package exp
     2  
     3  // Options to use when generating a TRUNCATE statement
     4  type TruncateOptions struct {
     5  	// Set to true to add CASCADE to the TRUNCATE statement
     6  	Cascade bool
     7  	// Set to true to add RESTRICT to the TRUNCATE statement
     8  	Restrict bool
     9  	// Set to true to specify IDENTITY options, (e.g. RESTART, CONTINUE) to the TRUNCATE statement
    10  	Identity string
    11  }
    12  

View as plain text