columnmaker

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: LGPL-2.1 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AI

func AI(partOfQuery string) string

you just putting to this as argument something like columnmaker.Integer("id") and it will return id INTEGER AUTOINCREMENT

func Integer

func Integer(name string) string

this function will make part of query that will be integer in db example: id_that_will_be_integer = columnmaker.Integer("id") id_that_will_be_integer will be string "id INTEGER"

func PK

func PK(part_of_query string) string

func Text

func Text(name string) string

will return a string that will be like name TEXT

Types

This section is empty.

Jump to

Keyboard shortcuts

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