diff --git a/include/Connection.hpp b/include/Connection.hpp index 7995f42..0f57f18 100644 --- a/include/Connection.hpp +++ b/include/Connection.hpp @@ -5,6 +5,7 @@ #include #include "Iterator.hpp" +#include "Ref.hpp" #include "Result.hpp" #include "dynamic/CreateTable.hpp" #include "dynamic/Insert.hpp" @@ -20,7 +21,7 @@ struct Connection { virtual Result execute(const CreateTable& _stmt) = 0; /// Reads the results of a SelectFrom statement. - virtual Result read(const dynamic::SelectFrom& _query) = 0; + virtual Result> read(const dynamic::SelectFrom& _query) = 0; /// Writes data into a table. Each vector in data MUST have the same length as /// _stmt.columns.