query
superduper.backends.ibis.query
parse_query
​
parse_query(query,
documents: Sequence[Dict] = (),
db: Optional[ForwardRef('Datalayer')] = None)
Parameter | Description |
---|---|
query | The query to parse. |
documents | The documents to query. |
db | The datalayer to use to execute the query. |
Parse a string query into a query object.
IbisQuery
​
IbisQuery(self,
identifier: str,
db: dataclasses.InitVar[typing.Optional[ForwardRef('Datalayer')]] = None,
uuid: str = None,
*,
parts: Sequence[Union[Tuple,
str]] = ()) -> None
Parameter | Description |
---|---|
identifier | Identifier of the leaf. |
db | Datalayer instance. |
uuid | UUID of the leaf. |
parts | The parts of the query. |
A query that can be executed on an Ibis database.
RawSQL
​
RawSQL(self,
query: str,
id_field: str = 'id') -> None
Parameter | Description |
---|---|
query | The raw SQL query |
id_field | The field to use as the primary id |
Raw SQL query.