diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-02-01 18:10:29 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-02-01 18:10:29 +0300 |
commit | 2895ad78dbdb43e57fc34558b4530b4e105fc72d (patch) | |
tree | 9a176c9a1a34cfa9df60fcf482bc6c360ae11214 /libodb-mssql/odb/mssql/details/options.cli | |
parent | 8ac5c705c360b9ccde527eea24ddc90b2f6ed7ec (diff) |
Turn libodb-mssql repository into package for muti-package repositorylibodb-mssql
Diffstat (limited to 'libodb-mssql/odb/mssql/details/options.cli')
-rw-r--r-- | libodb-mssql/odb/mssql/details/options.cli | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/libodb-mssql/odb/mssql/details/options.cli b/libodb-mssql/odb/mssql/details/options.cli new file mode 100644 index 0000000..dcf92e5 --- /dev/null +++ b/libodb-mssql/odb/mssql/details/options.cli @@ -0,0 +1,63 @@ +// file : odb/mssql/details/options.cli +// license : ODB NCUEL; see accompanying LICENSE file + +include <string>; + +namespace odb +{ + namespace mssql + { + namespace details + { + class options + { + std::string --user | -U + { + "<name>", + "SQL Server database user. If not specified, then Windows + authentication is used." + }; + + std::string --password | -P + { + "<str>", + "SQL Server database password. Omit this option if the user + password is blank or Windows authentication is used." + }; + + std::string --database | -d + { + "<name>", + "SQL Server database name. If not specified, then the default + database for this user is used." + }; + + std::string --server | -S + { + "<addr>", + "SQL Server instance address in the + \c{[\i{protocol}\b{:}]\i{host}[\b{\\}\i{instance}][\b{,}\i{port}]} + format, where \ci{protocol} can be \cb{tcp} (TCP/IP), + \cb{lpc} (shared memory), or \cb{np} (named pipe). If not specifid, + then \cb{localhost} is used." + }; + + std::string --driver + { + "<name>", + "SQL Server Native Client ODBC driver name. If not specified, then + the latest available driver is used." + }; + + std::string --options-file + { + "<file>", + "Read additional options from <file>. Each option should appear on a + separate line optionally followed by space or equal sign (\cb{=}) + and an option value. Empty lines and lines starting with \cb{#} are + ignored." + }; + }; + } + } +} |