-------------------- **deprecated** -- now simply calls sql_exec. Args: sql_text (str): SQL query text to execute. Note, there is NO placeholder replacement. biscuits (list): (optional) List of biscuit tokens for permissioned tables. If only querying public
(self, sql_text:str, biscuits:list = None, app_name:str = None)
| 611 | |
| 612 | |
| 613 | def sql_ddl(self, sql_text:str, biscuits:list = None, app_name:str = None): |
| 614 | """-------------------- |
| 615 | **deprecated** -- now simply calls sql_exec. |
| 616 | |
| 617 | Args: |
| 618 | sql_text (str): SQL query text to execute. Note, there is NO placeholder replacement. |
| 619 | biscuits (list): (optional) List of biscuit tokens for permissioned tables. If only querying public tables, this is not needed. |
| 620 | app_name (str): (optional) Name that will appear in querylog, used for bucketing workload. |
| 621 | |
| 622 | Returns: |
| 623 | bool: Success flag (True/False) indicating the api call worked as expected. |
| 624 | object: Response information from the Space and Time network, as list or dict(json). |
| 625 | """ |
| 626 | return self.sql_exec(sql_text=sql_text, biscuits=biscuits, app_name=app_name) |
| 627 | |
| 628 | |
| 629 | def sql_dml(self, sql_text:str, resources:list, biscuits:list = None, app_name:str = None): |
no test coverage detected