@wxn0brp/vql
Preparing search index...
processor
VQLProcessor
Class VQLProcessor
Index
Constructors
constructor
Properties
config
db
Instances
perm
Valid
Fn
relation
Methods
_
parse
Query
_
pre
Process
Query
_
run
Query
execute
Constructors
constructor
new
VQLProcessor
(
dbInstances
:
Record
<
string
,
ValtheraCompatible
>
,
config
?:
VQLConfig
|
Partial
<
VQLConfigInterface
>
,
permValidFn
?:
PermValidFn
,
)
:
VQLProcessor
Parameters
dbInstances
:
Record
<
string
,
ValtheraCompatible
>
config
:
VQLConfig
|
Partial
<
VQLConfigInterface
>
= ...
permValidFn
:
PermValidFn
= ...
Returns
VQLProcessor
Properties
config
config
:
VQLConfig
db
Instances
dbInstances
:
Record
<
string
,
ValtheraCompatible
>
perm
Valid
Fn
permValidFn
:
PermValidFn
= ...
relation
relation
:
Relation
Methods
_
parse
Query
_parseQuery
(
queryRaw
:
VQLUQ
)
:
{
err
?:
VQLError
;
query
?:
VQL_Query
}
Parameters
queryRaw
:
VQLUQ
Returns
{
err
?:
VQLError
;
query
?:
VQL_Query
}
_
pre
Process
Query
_preProcessQuery
(
queryRaw
:
VQLUQ
,
user
:
any
,
cfg
?:
VQLConfig
,
)
:
{
err
?:
VQLError
;
query
?:
VQL_Query
}
Parameters
queryRaw
:
VQLUQ
user
:
any
cfg
:
VQLConfig
= ...
Returns
{
err
?:
VQLError
;
query
?:
VQL_Query
}
_
run
Query
_runQuery
(
query
:
VQL_Query
,
user
:
any
,
cfg
?:
VQLConfig
)
:
Promise
<
any
>
Parameters
query
:
VQL_Query
user
:
any
cfg
:
VQLConfig
= ...
Returns
Promise
<
any
>
execute
execute
<
T
=
any
>
(
queryRaw
:
VQLUQ
<
T
>
,
user
?:
any
,
cfg
?:
VQLConfig
,
)
:
Promise
<
VQLError
|
T
>
Type Parameters
T
=
any
Parameters
queryRaw
:
VQLUQ
<
T
>
user
:
any
= ...
cfg
:
VQLConfig
= ...
Returns
Promise
<
VQLError
|
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
config
db
Instances
perm
Valid
Fn
relation
Methods
_
parse
Query
_
pre
Process
Query
_
run
Query
execute
@wxn0brp/vql
Loading...