plan

package
v0.0.0-...-27277ac Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScanDeleteStatementForIssues

func ScanDeleteStatementForIssues(query string, tables []dbtypes.Table) ([]issuetypes.QueryIssue, error)

func ScanInsertStatementForIssues

func ScanInsertStatementForIssues(query string, tables []dbtypes.Table) ([]issuetypes.QueryIssue, error)

func ScanSelectStatementForIssues

func ScanSelectStatementForIssues(query string, tables []dbtypes.Table) ([]issuetypes.QueryIssue, error)

func ScanUpdateStatementForIssues

func ScanUpdateStatementForIssues(query string, tables []dbtypes.Table) ([]issuetypes.QueryIssue, error)

Types

type DeleteStatement

type DeleteStatement struct {
	Tables []string // List of tables being deleted from
}

type Index

type Index struct {
	Columns      []string
	IsPrimaryKey bool
	IsUnique     bool
}

type InsertStatement

type InsertStatement struct {
	Table   string
	Columns []string
	Values  [][]string // Each slice within this slice represents a row of values
}

type SelectStatement

type SelectStatement struct {
	Columns map[string][]string
	Tables  []string
	Where   map[string][]string
	Join    map[string][]string
}

type UpdateStatement

type UpdateStatement struct {
	Columns map[string][]string
	Tables  []string
}

Jump to

Keyboard shortcuts

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