Commit Graph

8 Commits

Author SHA1 Message Date
Benjamin Oldenburg 982434f170 Add std::wstring support for ODBC backend
Handle wide-strings similarly to how normal strings are already handled.

For now support for them is only available in the ODBC backend.

Also add conversion functions between UTF-{8,16,32} and wchar_t and the
tests for them. Note that some of these functions are not used yet, but
provide the complete set as they probably will be in the future.

Co-Authored-By: Vadim Zeitlin <vz-soci@zeitlins.org>
2024-11-17 16:49:25 +01:00
Vadim Zeitlin fdfcc12e8d Remove data_type argument from describe_column() backend function
This is unnecessary as it can be recovered from db_type: even if this is
not lossless, we don't really care about it if all we need is data_type,
so simplify the API and the implementation by only having one "type"
parameter instead of two.

No real changes.
2024-01-03 00:36:54 +01:00
Lukas Zanner 037a332ca7 Add db_type description to docs 2023-10-18 22:28:19 +02:00
Lukas Zanner ff90687f2f Add back removed dt_* and x_* types
Types that refered to non-fixed-size types have been replaced in favor
of their fixed-size types (e.g. dt_integer -> dt_int32, x_short ->
x_int16). To be backwards compatible, we need to keep all of the
previous types though.
2023-08-13 17:25:29 +02:00
Lukas Zanner d4414a3edb Update docs for complete integer type support 2023-08-13 17:25:28 +02:00
Mohan Sella 9d0caa13ca Use 64-bit integer for next sequence and last insert ID values (#720) 2019-06-07 15:00:07 +02:00
Mateusz Loskot 46071f5f64 [docs] Replace HTML tables with Markdown tables
Use fenced code blocks with language specification.
Update database/os/compiler tables for some backends.
2017-09-23 18:14:47 +02:00
Mateusz Loskot 80941a9d97 Update structure of SOCI 4.0.0 documentation
Add MkDocs configuration to build documentation pages.

[ci skip]
2017-08-07 00:45:23 +02:00