query

package
v0.0.0-...-ef83997 Latest Latest
Warning

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

Go to latest
Published: May 2, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package query This package implements a super basic parser that takes a string, converts it to json and constructs an AndExpression of "key == value" expressions of all the fields in the json object this is just a stand-in until we have defined a proper query language

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(exp *string) (criteria.Expression, error)

Parse parses strings of the form { "attribute1":value1,"attribute2":value2} into an expression of the form "attribute1=value1 and attribute2=value2" returns the expression "true" if empty

Types

This section is empty.

Jump to

Keyboard shortcuts

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