コード例 #1
0
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)
コード例 #2
0
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)
コード例 #3
0
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)
コード例 #4
0
def test_createtable():
    common = SQLCommon(app_config,
                       inspect_cols_query=FIND_COLUMNS_STMT,
                       baseClass=SQLiteFeedDestination)

    common.test_createtable()
コード例 #5
0
def test_createtable():
    common = SQLCommon(app_config)

    common.test_createtable()
コード例 #6
0
def test_createtable():
    common = SQLCommon(app_config,
                       inspect_cols_query=FIND_COLUMNS_STMT,
                       table_name='ALL_TYPES')

    common.test_createtable()