Search
Preparing search index...
The search index is not available
protopipe
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
protopipe
RefOperator
Class RefOperator
Hierarchy
RefOperator
Implements
ISpaceOperator
<
ISpace
>
Index
Constructors
constructor
Properties
space
Methods
create
find
get
get
Refs
get
Rels
link
read
upsert
Constructors
constructor
new
Ref
Operator
(
space
:
ISpace
)
:
RefOperator
Parameters
space:
ISpace
Returns
RefOperator
Properties
space
space
:
ISpace
Methods
Static
create
create
(
space
:
ISpace
, type
:
string
, value
:
any
)
:
ISpaceElement
Parameters
space:
ISpace
type:
string
value:
any
Returns
ISpaceElement
Static
find
find
(
predicate
:
TPredicate
, space
:
ISpace
)
:
undefined
|
ISpaceElement
Parameters
predicate:
TPredicate
space:
ISpace
Returns
undefined
|
ISpaceElement
Static
get
get
(
space
:
ISpace
, id
:
string
, type
?:
string
)
:
undefined
|
ISpaceElement
Parameters
space:
ISpace
id:
string
Optional
type:
string
Returns
undefined
|
ISpaceElement
Static
get
Refs
get
Refs
(
space
:
ISpace
, id
:
string
|
string
[]
, direction
?:
IDirection
)
:
ISpaceElement
[]
Parameters
space:
ISpace
id:
string
|
string
[]
direction:
IDirection
= 'from'
Returns
ISpaceElement
[]
Static
get
Rels
get
Rels
(
space
:
ISpace
, id
:
string
, direction
?:
IDirection
)
:
ISpaceElement
[]
Parameters
space:
ISpace
id:
string
direction:
IDirection
= 'from'
Returns
ISpaceElement
[]
Static
link
link
(
space
:
ISpace
, from
:
string
, to
:
string
)
:
ISpaceElement
Parameters
space:
ISpace
from:
string
to:
string
Returns
ISpaceElement
Static
read
read
(
predicate
:
TPredicate
, space
:
ISpace
, limit
?:
number
)
:
ISpaceElement
[]
Parameters
predicate:
TPredicate
space:
ISpace
Optional
limit:
number
Returns
ISpaceElement
[]
Static
upsert
upsert
(
space
:
ISpace
, type
:
string
, value
:
any
, predicate
?:
TPredicate
)
:
ISpaceElement
Parameters
space:
ISpace
type:
string
value:
any
Optional
predicate:
TPredicate
Returns
ISpaceElement
Exports
Ref
Operator
constructor
space
create
find
get
get
Refs
get
Rels
link
read
upsert