query

package
v0.0.0-...-bfbc3bb Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2025 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gen

func Gen(yml config.YML) error

Gen runs dbgo query gen programmatically using the given YML.

func Save

func Save(name string, yml config.YML) error

Save runs dbgo query save programmatically using the given template name and YML.

func Schema

func Schema(yml config.YML, schemago, schemasql bool) error

Schema runs dbgo query schema programmatically using the given YML.

func SchemaGo

func SchemaGo(dirpath, dbconnection, dbschema string) error

SchemaGo generates a schema.go file in the given directory using the database connection string and database schema name.

func SchemaSQL

func SchemaSQL(dirpath, dbconnection, dbschema string) error

SchemaSQL generates a schema.sql file in the given directory using the database connection string and database schema name.

func Template

func Template(name string, yml config.YML) error

Template runs dbgo query template programmatically using the given template name and YML.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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