easy_sql.sql_processor.common

Module Contents

Classes

Column

VarsReplacer

Functions

is_int_type(type_name)

exception easy_sql.sql_processor.common.SqlProcessorAssertionError(message)

Bases: Exception

digraph inheritance0d062f3d97 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "SqlProcessorAssertionError" [URL="#easy_sql.sql_processor.common.SqlProcessorAssertionError",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; }

Common base class for all non-exit exceptions.

Parameters

message (str) –

exception easy_sql.sql_processor.common.SqlProcessorException(message)

Bases: Exception

digraph inheritancefc808ee27c { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "SqlProcessorException" [URL="#easy_sql.sql_processor.common.SqlProcessorException",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; }

Common base class for all non-exit exceptions.

Parameters

message (str) –

class easy_sql.sql_processor.common.Column(name, value)
Parameters
  • name (str) –

  • value (Any) –

class easy_sql.sql_processor.common.VarsReplacer
abstract replace_variables(self, text, include_funcs=True)
Parameters
  • text (str) –

  • include_funcs (bool) –

Return type

str

easy_sql.sql_processor.common.is_int_type(type_name)