I recently put together a basic DBTransaction class that wraps the mysqlpp
I would like to have an abstract method:
SSQLS() = 0
which returns a specialized data row based on the DBTransaction subclass.
(Say RetrieveValuesDBTransaction should implement SSQLS())
However the way the SSQLS structures are designed I see there is no base
class for them. In the meantime I just have an abstract SQL() = 0 which
returns a query string.
Is it possible to do this? I would like the benefits of using SSQLS
structures, but I need to use polymorphism on a base type.