soci icon indicating copy to clipboard operation
soci copied to clipboard

Official repository of the SOCI - The C++ Database Access Library

Results 186 soci issues
Sort by recently updated
recently updated
newest added

These tweaks will allow users to use SOCI as a subdirectory with CMake the same way as if they had called `find_package` (targets in the `SOCI::` namespace, and no additional...

CMake

As the datetime data type doesn't exist in SQLite3, the DDL method create_column_type() mapped dt_date to an integer type. This was possible because SQLite3 internally handles datetime values as text,...

SQLite

My ultimate goal is to have a query of the form `SELECT a, b FROM ...` and then use a `soci::use(container)` where `container` is a `std::vector< std::pair< std::string, std::string >...

Category/Enhancement

Previous behavior was that the vector was reset to zero size. I'm the first to admit that I don't know what was the use of the commented out code in...

SQLite

Several database supported by `SOCI`, including - postgresql has [`Notify`](https://www.postgresql.org/docs/10/sql-notify.html) - sqlite3 has [`sqlite3_update_hook`](https://www.sqlite.org/c3ref/update_hook.html) - firebirds has [event system](https://www.firebirdsql.org/file/documentation/papers_presentations/Power_Firebird_events.pdf) It is useful to clients who are interested in particular tables...

For this query: ``` select :value from rdb$databases where :value = 1 ``` If we execute with: ``` .use(1, "value") ``` The query will fail with this error: ``` Incorrect...

As often discussed (e.g. #90, #920, #926), SOCI doesn't have a complete support for all C++ integer types. This PR aims to fix this. To remove ambiguity and confusion in...

Creating a table using the generic code ``` soci::ddl_type ddl = db.create_table(name); ddl.column("TIMESTAMP", soci::dt_date)("not null"); ``` a new table is created with the column type INTEGER instead of the expected...

The new version uses consistent spelling that matches the name of then module file (Soci instead of SOCI). In addition it delegates the handling of individual components to the standard...

CMake