package
0.2.1
Repository: https://github.com/seldonio/goven.git
Documentation: pkg.go.dev

# Functions

DefaultMatcher takes an expression and spits out the default SqlResponse.
DefaultMatcherWithValidator wraps the default matcher with validation on the value.
FieldParseValidatorFromStruct takes the reflection of your database object and returns a map of fieldnames to ParseValidateFuncs.
IntegerValidator validates that the input is an integer.
NewDefaultAdaptorFromStruct returns a new basic SqlAdaptor from the reflection of your database object.
NewSqlAdaptor returns a SqlAdaptor populated with the provided arguments.
NullValidator is a no-op validator on a string, always returns nil error.
NumericValidator validates that the input is a number.
StringSliceToInterfaceSlice is a helper function for making gorm queries.

# Structs

SqlAdaptor represents the adaptor tailored to your database schema.
SqlResponse is an object that stores the raw query, and the values to interpolate.

# Type aliases

No description provided by the author
No description provided by the author