summaryrefslogtreecommitdiff
path: root/lib/streamSupport.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-05-24 01:01:30 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-05-24 01:01:30 +0100
commit15c1e5566f7ad8448985ca6e52805ceb4ec389a8 (patch)
tree14908b221d01cca00975da84656adcea57898620 /lib/streamSupport.h
parentMinor tidy up of replStream (diff)
downloadmygrate-15c1e5566f7ad8448985ca6e52805ceb4ec389a8.tar.bz2
mygrate-15c1e5566f7ad8448985ca6e52805ceb4ec389a8.tar.xz
mygrate-15c1e5566f7ad8448985ca6e52805ceb4ec389a8.zip
Basic support for queries with bound parameters
Bit of a reshuffle to make the types not DB specific, add some basic tests over query execution, no selects yet and no validation anything is actually right.
Diffstat (limited to 'lib/streamSupport.h')
-rw-r--r--lib/streamSupport.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/streamSupport.h b/lib/streamSupport.h
index 60e68d3..cab62e6 100644
--- a/lib/streamSupport.h
+++ b/lib/streamSupport.h
@@ -11,14 +11,8 @@
#include <vector>
namespace MyGrate {
class BitSet;
-}
-namespace MyGrate::MySQL {
struct Date;
-}
-namespace MyGrate::MySQL {
struct DateTime;
-}
-namespace MyGrate::MySQL {
struct Time;
}
struct timespec;
@@ -33,11 +27,11 @@ namespace std {
std::ostream & operator<<(std::ostream & s, const timespec & ts);
- std::ostream & operator<<(std::ostream & s, const MyGrate::MySQL::Date & d);
+ std::ostream & operator<<(std::ostream & s, const MyGrate::Date & d);
- std::ostream & operator<<(std::ostream & s, const MyGrate::MySQL::Time & t);
+ std::ostream & operator<<(std::ostream & s, const MyGrate::Time & t);
- std::ostream & operator<<(std::ostream & s, const MyGrate::MySQL::DateTime & dt);
+ std::ostream & operator<<(std::ostream & s, const MyGrate::DateTime & dt);
std::ostream & operator<<(std::ostream & s, const MyGrate::BitSet & bs);