driver

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mutation

type Mutation struct {
	Config *config.Mutation
	Node   ast.Node

	Invalidates []*Query
}

Mutation - the stmt node and mutation.

type Query

type Query struct {
	Config *config.Query
	Node   ast.Node
}

Query - the stmt node and query.

type Repo

type Repo struct {
	Tables    []schema.SQLTable
	Queries   []*Query
	Mutations []*Mutation
	Config    *config.NeedleConfig
}

Repo is the root struct.

func NewRepoFromConfig

func NewRepoFromConfig(config *config.NeedleConfig) (*Repo, error)

NewRepoFromConfig - panic if error

Jump to

Keyboard shortcuts

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