pir_pipeline.utils.sql_alchemy_view.view_exists¶
- pir_pipeline.utils.sql_alchemy_view.view_exists(ddl, target, connection, **kw)¶
Return true if a view does exist
- Args:
ddl: Statement defining/identifying the view target: Table connection: Database connection
- Returns:
bool: Boolean indicating whether the view exists