lib/mini_sql/connection.rb in mini_sql-0.2.5 vs lib/mini_sql/connection.rb in mini_sql-0.3

- old
+ new

@@ -29,14 +29,26 @@ def query(sql, *params) raise NotImplementedError, "must be implemented by child connection" end - def exec(sql, *params) + def query_hash(sql, *params) raise NotImplementedError, "must be implemented by child connection" end - def query_hash(sql, *params) + def query_decorator(sql, *params) + raise NotImplementedError, "must be implemented by child connection" + end + + def query_each(sql, *params) + raise NotImplementedError, "must be implemented by child connection" + end + + def query_each_hash(sql, *params) + raise NotImplementedError, "must be implemented by child connection" + end + + def exec(sql, *params) raise NotImplementedError, "must be implemented by child connection" end def build(sql) Builder.new(self, sql)