sqlsqlite

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLiteExtraData

type SQLiteExtraData struct {
	EndMarks map[string]struct{}
}

SQLiteExtraData implements the ExtraData interface for SQLite

func (*SQLiteExtraData) IsBlockEnd

func (e *SQLiteExtraData) IsBlockEnd(line string) bool

type SQLiteType

type SQLiteType int

SQLiteType implements the SQLType interface for SQLite

const (
	SQLiteTypeUnknown SQLiteType = iota
	SQLiteTypeSelect
	SQLiteTypeInsert
	SQLiteTypeUpdate
	SQLiteTypeDelete
	SQLiteTypeCreateTable
	SQLiteTypeCreateIndex
	SQLiteTypeCreateView
	SQLiteTypeCreateTrigger
	SQLiteTypeDrop
	SQLiteTypeAlter
	SQLiteTypeProcedure
	SQLiteTypeTransaction
	SQLiteTypeOther
)

func (SQLiteType) AsInt

func (t SQLiteType) AsInt() int

AsInt returns the integer representation of the SQL type

func (SQLiteType) IsBlock

func (t SQLiteType) IsBlock() bool

IsBlock determines if the SQL type represents a block statement

func (SQLiteType) IsNull

func (t SQLiteType) IsNull() bool

func (SQLiteType) String

func (t SQLiteType) String() string

String returns the string representation of the SQL type

Jump to

Keyboard shortcuts

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