airflow.providers.sqlite.operators.sqlite

Module Contents

Classes

SqliteOperator

Executes sql code in a specific Sqlite database.

class airflow.providers.sqlite.operators.sqlite.SqliteOperator(*, sqlite_conn_id='sqlite_default', **kwargs)[source]

Bases: airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator

Executes sql code in a specific Sqlite database.

This class is deprecated.

Please use airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator.

See also

For more information on how to use this operator, take a look at the guide: SqliteOperator

Parameters
  • sql – the sql code to be executed. Can receive a str representing a sql statement, a list of str (sql statements), or reference to a template file. Template reference are recognized by str ending in ‘.sql’ (templated)

  • sqlite_conn_id (str) – reference to a specific sqlite database

  • parameters – (optional) the parameters to render the SQL query with.

template_fields: Sequence[str] = ('sql',)[source]
template_ext: Sequence[str] = ('.sql',)[source]
template_fields_renderers[source]
ui_color = '#cdaaed'[source]

Was this entry helpful?