pql

package
v0.0.0-...-a8bc1c0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2020 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ident

type Ident struct {
	Name     string
	Wildcard bool
}

An identifier

type Property

type Property struct {
	Left  *Ident
	Right *Ident
}

A property

func (Property) Base

func (p Property) Base() string

Obtain a property base (unprefixed) name

func (Property) String

func (p Property) String() string

Obtain a property qualified name

func (Property) Wildcard

func (p Property) Wildcard() bool

Is this a wildcard?

type Query

type Query struct {
	SQL     string
	Columns []string
}

A query

func Parse

func Parse(q string, avail []string) (*Query, error)

Parse an entity SQL query

Jump to

Keyboard shortcuts

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