Qore FreetdsSqlUtil Module Reference 1.6
Loading...
Searching...
No Matches
FreetdsSqlUtil.qm.dox.h
1
2// -*- mode: c++; indent-tabs-mode: nil -*-
4
5/* FreetdsSqlUtil.qm Copyright (C) 2015 - 2023 Qore Technologies, s.r.o.
6
7 Permission is hereby granted, free of charge, to any person obtaining a
8 copy of this software and associated documentation files (the "Software"),
9 to deal in the Software without restriction, including without limitation
10 the rights to use, copy, modify, merge, publish, distribute, sublicense,
11 and/or sell copies of the Software, and to permit persons to whom the
12 Software is furnished to do so, subject to the following conditions:
13
14 The above copyright notice and this permission notice shall be included in
15 all copies or substantial portions of the Software.
16
17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23 DEALINGS IN THE SOFTWARE.
24*/
25
26// minimum required Qore version
27
28// requires the SqlUtil module
29
30// requires the Util module
31
32// the implementation is in MssqlSqlUtilBase
33
34// don't use "$" signs for variables and class members, assume local variable scope
35
36// require type definitions everywhere
37
38// enable all warnings
39
40
41// version history is included below in the docs
42
117namespace FreetdsSqlUtil {
119 MssqlTable get_table(AbstractDatasource nds, string nname, *hash<auto> opts);
120
121
123 MssqlDatabase get_database(AbstractDatasource nds, *hash<auto> opts);
124
125
128
129public:
130 constructor(AbstractDatasource nds, *hash<auto> opts) ;
131
132};
133
136
137public:
139 constructor(AbstractDatasource nds, string nname, *hash<auto> opts) ;
140
141
143
145protected:
146 *string getSqlValueImpl(auto v);
147public:
148
149};
150};
provides the Mssql-specific implementation of the AbstractDatabase interface
Definition: FreetdsSqlUtil.qm.dox.h:127
provides the Mssql-specific implementation of the SqlUtil::AbstractTable interface
Definition: FreetdsSqlUtil.qm.dox.h:135
constructor(AbstractDatasource nds, string nname, *hash< auto > opts)
Creates the object with the given arguments.
*string getSqlValueImpl(auto v)
returns a string for use in SQL queries representing the DB-specific value of the argument
the FreetdsSqlUtil namespace contains all the objects in the FreetdsSqlUtil module
Definition: FreetdsSqlUtil.qm.dox.h:117
MssqlTable get_table(AbstractDatasource nds, string nname, *hash< auto > opts)
returns a MssqlTable object corresponding to the arguments
MssqlDatabase get_database(AbstractDatasource nds, *hash< auto > opts)
returns a MssqlDatabase object corresponding to the arguments