diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-05-24 01:01:30 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-05-24 01:01:30 +0100 |
commit | 15c1e5566f7ad8448985ca6e52805ceb4ec389a8 (patch) | |
tree | 14908b221d01cca00975da84656adcea57898620 /lib/streamSupport.h | |
parent | Minor tidy up of replStream (diff) | |
download | mygrate-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.h | 12 |
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); |