WherePattern
Description
Interface with the methods available to make a WHERE statement of a sub-query.
Methods
where( patterns: Pattern<PatternToken> | Pattern<PatternToken>[] ): GroupClause<FinishPattern> & FinishPattern
Sets the graph patterns the sub-query should match to retrieve the sub-solutions data.
Parameters
Name | Type | Description |
---|---|---|
Pattern<PatternToken> | Pattern<PatternToken>[] | Patterns the sub-query should match. |
Returns
Object with the methods to keep constructing the sub-query.
WherePattern
Description
Constant with the utils for WherePattern
objects.
Methods
createFrom<C extends Container<SubSelectToken>, O extends object>( container: C, object: O ): O & WherePattern
Factory function that allows to crete a WherePattern
from the object provided.
Parameters
Name | Type | Description |
---|---|---|
C | The related container with the data for the | |
O | The base base from where to create the |
Returns
The WherePattern
statement created from the object provided.