package
0.1.14-beta9
Repository: https://github.com/patrickascher/gofer.git
Documentation: pkg.go.dev

# Packages

Package condition provides a sql condition builder.
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

DbExpr expressions will not get quoted.
IsOperatorAllowed will return false if the operator is not implemented.
New creates a new builder instance with the given query provider and configuration.
NewNullBool creates a new NullBool.
NewNullFloat creates a new NullFloat.
NewNullInt creates a new NullInt.
NewNullString creates a new NullString.
NewNullTime creates a new NullTime.
Register the query provider.
SanitizeInterfaceValue will convert any int, uint or NullInt to int64 and NullString to string.
SanitizeToString will convert any type to a string.

# Constants

all allowed sql operators.
all allowed sql operators.
all allowed sql operators.
all allowed sql operators.
all allowed sql operators.
all allowed sql operators.
all allowed sql operators.
all allowed sql operators.
all allowed sql operators.
all allowed sql operators.
all allowed sql operators.
all allowed sql operators.
all allowed sql operators.
all allowed sql operators.

# Variables

Error messages.
Error messages.
Error messages.
Error messages.
Error messages.
Error messages.
Error messages.

# Structs

Base struct includes the configuration, logger and transaction logic.
Column represents a database table column.
Config sql struct.
DeleteBase can be embedded and changed for different providers.
ForeignKey represents a table relation.
InsertBase can be embedded and changed for different providers.
Relation defines the table and column of a relation.
SelectBase can be embedded and changed for different providers.
TransactionBase can be embedded and changed for different providers.
UpdateBase can be embedded and changed for different providers.

# Interfaces

Builder interface.
Delete interface.
Information interface.
Insert interface.
Provider interface.
Query interface.
Select interface.
Tx interface.
Type interface.
Update interface.

# Type aliases

NullBool wraps gopkg.in/guregu/null.Bool.
NullFloat wraps gopkg.in/guregu/null.Float.
NullInt wraps gopkg.in/guregu/null.Int.
NullString wraps gopkg.in/guregu/null.String.
NullTime wraps gopkg.in/guregu/null.Time.