truncate

package
v0.0.0-...-28ac8a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Execute() (sql.Result, error)
	// contains filtered or unexported methods
}

func TableTruncate

func TableTruncate(name string, db *sql.DB) Service

NewTable constructor for the Table struct.

type Table

type Table struct {
	// contains filtered or unexported fields
}

Table struct

func (*Table) Execute

func (t *Table) Execute() (sql.Result, error)

Execute function

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL