Пример #1
0
void
sql::write_set_columns_types(
    const binomen &table,
    const abstract_mapper_base &mapper,
    optional<column_id> generated_key
) {
    throw unsupported_exception();
}
Пример #2
0
void
table_base::specify_index_impl(bool is_unique, vector<unique_ptr<const abstract_mapper_base>> &&mappers) {
    if (_is_open)  throw table_open_exception();

    const index_spec spec(
        transform(
            std::move(mappers),
            [this](unique_ptr<const abstract_mapper_base> &m)  { return &own(m); }
        ),
        is_unique
    );
    if (! get_database().supports_index(spec))  throw unsupported_exception();
    _index_specs.push_back(spec);
}
Пример #3
0
void
sql::write_rename_column(const binomen &table, const string &before, const string &after) {
    throw unsupported_exception();
}
Пример #4
0
void
sql::write_drop_columns(const binomen &table, const abstract_mapper_base &mapper) {
    throw unsupported_exception();
}
Пример #5
0
void
sql::write_returning(const abstract_mapper_base &mapper) {
    throw unsupported_exception();
}
Пример #6
0
void
sql::write_collective_comparison(relation r, const abstract_column_sequence &lhs, const collective_base &rhs) {
    throw unsupported_exception();
}