def test_blob(): common = SQLCommon(app_config, table_name=BLOB_TABLE_NAME, table_def=blob_fields) common.test_createtable() common.test_insert_blob(PostgreSQL96Dialect.make_blob)
def test_blob(): common = SQLCommon(app_config, inspect_cols_query=FIND_COLUMNS_STMT, table_name=BLOB_TABLE_NAME.upper(), table_def=blob_fields) common.test_createtable() common.test_insert_blob(None)
def test_blob(): common = SQLCommon(app_config, table_name=BLOB_TABLE_NAME, inspect_cols_query=FIND_COLUMNS_STMT, table_def=blob_fields, baseClass=SQLiteFeedDestination) common.test_createtable() common.test_insert_blob(SqliteDialect.make_blob)
def test_insert_row(): common = SQLCommon(app_config, inspect_cols_query=FIND_COLUMNS_STMT, baseClass=SQLiteFeedDestination) common.test_insert_row(result_payload)
def test_get_parameters(): common = SQLCommon(app_config, inspect_cols_query=FIND_COLUMNS_STMT, baseClass=SQLiteFeedDestination) common.test_get_parameters()
def test_droptable(): common = SQLCommon(app_config) common.test_droptable()
def test_altertable(): common = SQLCommon(app_config) common.test_altertable()
def test_delete_row(): common = SQLCommon(app_config) common.test_delete_row()
def test_insert_row(): common = SQLCommon(app_config, inspect_cols_query=FIND_COLUMNS_STMT, table_name='ALL_TYPES') common.test_insert_row(result_payload)
def test_insert_row(): common = SQLCommon(app_config, setup_stmt=SETUP_STMT) common.test_insert_row(result_payload)
def test_createtable(): common = SQLCommon(app_config) common.test_createtable()
def test_get_parameters(): common = SQLCommon(app_config) common.test_get_parameters()
def test_droptable(): common = SQLCommon(app_config, inspect_cols_query=FIND_COLUMNS_STMT, table_name='ALL_TYPES') common.test_droptable()
def test_altertable(): common = SQLCommon(app_config, inspect_cols_query=FIND_COLUMNS_STMT, table_name='ALL_TYPES') common.test_altertable(col_type='NVARCHAR2(2000)')
def test_update_row(): common = SQLCommon(app_config, inspect_cols_query=FIND_COLUMNS_STMT, table_name='ALL_TYPES') common.test_update_row(MAX_TEXT_SIZE, result_payload)
def test_update_row(): common = SQLCommon(app_config, inspect_cols_query=FIND_COLUMNS_STMT, baseClass=SQLiteFeedDestination) common.test_update_row(MAX_TEXT_SIZE, result_payload)
def test_altertable(): common = SQLCommon(app_config, inspect_cols_query=FIND_COLUMNS_STMT, baseClass=SQLiteFeedDestination) common.test_altertable()
def test_update_row(): common = SQLCommon(app_config, setup_stmt=SETUP_STMT) common.test_update_row(MAX_TEXT_SIZE, result_payload)