postgresql

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: Apache-2.0 Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidInput = errors.New("odata syntax error")

ErrInvalidInput Client errors

Functions

func ODataCount

func ODataCount(db *sql.DB, table string) (int, error)

ODataCount returns the number of rows from a table

func ODataSQLQuery

func ODataSQLQuery(query url.Values, table string, column string, db *sql.DB) (*sql.Rows, error)

ODataSQLQuery builds a SQL like query based on OData 2.0 specification

Types

This section is empty.

Jump to

Keyboard shortcuts

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