Documentation
¶
Index ¶
Constants ¶
const LuceneMatchAll = "*:*"
LuceneMatchAll is the query that selects every document.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldRef ¶
type FieldRef struct {
Field string `json:"field"`
}
FieldRef can be used in UCASTNode.Value to reference another field, i.e. database column.
type Null ¶
type Null struct{}
Null represents a NULL value in a SQL query. We need our own type to control both the JSON marshalling and the SQL generation.
func (Null) MarshalJSON ¶
type UCASTNode ¶
type UCASTNode struct {
Type string `json:"type"`
Op string `json:"operator"`
Field string `json:"field,omitempty"`
Value any `json:"value,omitempty"`
}
The "union" structure for incoming UCAST trees.