package
0.0.12
Repository: https://github.com/m15t/gram.git
Documentation: pkg.go.dev

# Functions

NewRepo creates new Repo instance.
ParseConds returns standard [sqlString, vars] format for query, powered by gowhere package (with default config).
ParseSortParam returns list of [column, direction] from comma separated sorting param.
ParseSortValue returns the column name and direction for sorting value like +column or -column.
WithPaging an util function to set pagination conditions.
WithSorting an util function to set sorting conditions WARNING: SQL Injection vulnerability! `quoteCol` function must take care of quoting column name properly.

# Structs

Repo represents the client for common usages.

# Interfaces

Intf represents the common interface for all repositories.