Qore JdbcPostgresqlSqlUtil Module Reference 1.0
Loading...
Searching...
No Matches
JdbcPostgresqlSqlUtil.qm.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
4/* JdbcPostgresqlSqlUtil.qm Copyright (C) 2013 - 2023 Qore Technologies, s.r.o.
5
6 Permission is hereby granted, free of charge, to any person obtaining a
7 copy of this software and associated documentation files (the "Software"),
8 to deal in the Software without restriction, including without limitation
9 the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 and/or sell copies of the Software, and to permit persons to whom the
11 Software is furnished to do so, subject to the following conditions:
12
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
15
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 DEALINGS IN THE SOFTWARE.
23*/
24
25// minimum required Qore version
26
27// requires the SqlUtil module
28
29// don't use "$" signs for variables and class members, assume local variable scope
30
31// require type definitions everywhere
32
33// enable all warnings
34
35// the implementation is in PgsqlSqlUtilBase
36
37
38// version history is included below in the docs
39
68 JdbcPgsqlTable get_table(AbstractDatasource nds, string nname, *hash<auto> opts);
69
70
72 JdbcPgsqlDatabase get_database(AbstractDatasource nds, *hash<auto> opts);
73
74
76class JdbcPgsqlDatabase : public PgsqlDatabase {
77
78public:
79 constructor(AbstractDatasource nds, *hash opts) ;
80
81
82protected:
83 *string getDbName();
84public:
85
86 };
87
89class JdbcPgsqlTable : public PgsqlTable {
90
91public:
93 constructor(AbstractDatasource nds, string nname, *hash opts) ;
94
95
98
99
101protected:
103public:
104
105 };
106};
provides the JDBC PostgreSQL-specific implementation of the SqlUtil::AbstractDatabase interface
Definition: JdbcPostgresqlSqlUtil.qm.dox.h:76
provides the JDBC PostgreSQL-specific implementation of the SqlUtil::AbstractTable interface
Definition: JdbcPostgresqlSqlUtil.qm.dox.h:89
getServerVersion()
Sets the internal PostgreSQL server version.
constructor(AbstractDatasource nds, string nname, *hash opts)
Creates the object from the arguments.
bool hasArrayBind()
returns True because the jdbc driver supports array binds / bulk DML operations
the JdbcPostgresqlSqlUtil namespace contains all the objects in the JdbcPostgresqlSqlUtil module
Definition: JdbcPostgresqlSqlUtil.qm.dox.h:66
JdbcPgsqlTable get_table(AbstractDatasource nds, string nname, *hash< auto > opts)
returns a JdbcPgsqlTable object corresponding to the arguments
JdbcPgsqlDatabase get_database(AbstractDatasource nds, *hash< auto > opts)
returns a PgsqlDatabase object corresponding to the arguments