backends/empty/statement.cpp
Go to the documentation of this file.
1 //
2 // Copyright (C) 2004-2006 Maciej Sobczak, Stephen Hutton
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
6 //
7 
8 #define SOCI_EMPTY_SOURCE
9 #include "soci-empty.h"
10 
11 #ifdef _MSC_VER
12 #pragma warning(disable:4355)
13 #endif
14 
15 using namespace soci;
16 using namespace soci::details;
17 
18 
20  : session_(session)
21 {
22 }
23 
25 {
26  // ...
27 }
28 
30 {
31  // ...
32 }
33 
34 void empty_statement_backend::prepare(std::string const & /* query */,
35  statement_type /* eType */)
36 {
37  // ...
38 }
39 
42 {
43  // ...
44  return ef_success;
45 }
46 
49 {
50  // ...
51  return ef_success;
52 }
53 
55 {
56  // ...
57  return -1;
58 }
59 
61 {
62  // ...
63  return 1;
64 }
65 
67  std::string const &query)
68 {
69  return query;
70 }
71 
73 {
74  // ...
75  return 0;
76 }
77 
79  data_type & /* type */, std::string & /* columnName */)
80 {
81  // ...
82 }
83 
85 {
86  return new empty_standard_into_type_backend(*this);
87 }
88 
90 {
91  return new empty_standard_use_type_backend(*this);
92 }
93 
96 {
97  return new empty_vector_into_type_backend(*this);
98 }
99 
101 {
102  return new empty_vector_use_type_backend(*this);
103 }
exec_fetch_result execute(int number)
void describe_column(int colNum, data_type &dtype, std::string &columnName)
empty_standard_into_type_backend * make_into_type_backend()
empty_vector_use_type_backend * make_vector_use_type_backend()
void prepare(std::string const &query, details::statement_type eType)
exec_fetch_result fetch(int number)
empty_standard_use_type_backend * make_use_type_backend()
empty_vector_into_type_backend * make_vector_into_type_backend()
empty_statement_backend(empty_session_backend &session)
std::string rewrite_for_procedure_call(std::string const &query)


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41