sql

package
v0.0.0-...-62db38d Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSQL

func CreateSQL(dialect d.Dialect, isAutoID bool, marker string, tagMarker string, filenames []string) (sqlMap map[string]*SQL, dependencyMap map[string]map[string]struct{}, err error)

CreateSQL creates SQL statements from files.

Types

type Record

type Record struct {
	FindAll string
	Find    string
	Create  string
	Delete  string
	Update  string
}

type SQL

type SQL struct {
	Table  Table
	Record Record
}

type Table

type Table struct {
	Create string
	Drop   string
}

Jump to

Keyboard shortcuts

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