|
Boost : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2020-04-06 13:40:23
I'm going to come down on the side of those who suggest that you
consider other database systems besides mysql.
One suggestion for you: Think BIG!!!
Consider the following:
you've got some sort class like
class mysql {
record query("...");
record get_next();
// or something like that
...
};
Would it that hard to:
class sql {
record query("...") = 0;
record get_next() = 0;
// or something like that
};
class mysql : public sql {
record query("..."){...}
record get_next(){...}
...
};
class obdc : public sql {
...
};
main(){
sql & s = obdc(...);
record r = s.query(...); ...
...
}
so that one could/would write backend independent code? I would think
that this would be the SQL killer app for C++
Robert Ramey
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk