Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllAggregateFunction = []AggregateFunction{ AggregateFunctionSum, AggregateFunctionCount, AggregateFunctionAvg, AggregateFunctionMax, AggregateFunctionMin, }
View Source
var AllDirection = []Direction{ DirectionOutgoing, DirectionIncoming, }
View Source
var AllOperator = []Operator{ OperatorEq, OperatorNeq, OperatorGt, OperatorLt, OperatorGte, OperatorLte, OperatorContains, OperatorHasPrefix, OperatorHasSuffix, }
Functions ¶
This section is empty.
Types ¶
type AggregateFunction ¶
type AggregateFunction string
const ( AggregateFunctionSum AggregateFunction = "SUM" AggregateFunctionCount AggregateFunction = "COUNT" AggregateFunctionAvg AggregateFunction = "AVG" AggregateFunctionMax AggregateFunction = "MAX" AggregateFunctionMin AggregateFunction = "MIN" )
func (AggregateFunction) IsValid ¶
func (e AggregateFunction) IsValid() bool
func (AggregateFunction) MarshalGQL ¶
func (e AggregateFunction) MarshalGQL(w io.Writer)
func (AggregateFunction) String ¶
func (e AggregateFunction) String() string
func (*AggregateFunction) UnmarshalGQL ¶
func (e *AggregateFunction) UnmarshalGQL(v interface{}) error
type Direction ¶
type Direction string
func (Direction) MarshalGQL ¶
func (*Direction) UnmarshalGQL ¶
type Expression ¶
type Node ¶
type Node struct { ID string `json:"id"` Type string `json:"type"` Properties map[string]interface{} `json:"properties"` GetProperty interface{} `json:"getProperty"` SetProperties bool `json:"setProperties"` DelProperty bool `json:"delProperty"` GetRelation *Relation `json:"getRelation"` AddRelation *Relation `json:"addRelation"` DelRelation bool `json:"delRelation"` Relations *Relations `json:"relations"` AddIncomingNode *Node `json:"addIncomingNode"` AddOutboundNode *Node `json:"addOutboundNode"` }
type NodeWhere ¶
type NodeWhere struct { Cursor *string `json:"cursor"` Type string `json:"type"` Expressions []*Expression `json:"expressions"` PageSize *int `json:"page_size"` OrderBy *OrderBy `json:"order_by"` }
type Operator ¶
type Operator string
const ( OperatorEq Operator = "EQ" OperatorNeq Operator = "NEQ" OperatorGt Operator = "GT" OperatorLt Operator = "LT" OperatorGte Operator = "GTE" OperatorLte Operator = "LTE" OperatorContains Operator = "CONTAINS" OperatorHasPrefix Operator = "HAS_PREFIX" OperatorHasSuffix Operator = "HAS_SUFFIX" )
func (Operator) MarshalGQL ¶
func (*Operator) UnmarshalGQL ¶
type Relation ¶
type Relation struct { ID string `json:"id"` Type string `json:"type"` Properties map[string]interface{} `json:"properties"` GetProperty interface{} `json:"getProperty"` SetProperties bool `json:"setProperties"` DelProperty bool `json:"delProperty"` Source *Node `json:"source"` Target *Node `json:"target"` }
type RelationWhere ¶
Click to show internal directories.
Click to hide internal directories.