StormByte C++ Library: Database module 0.0.9999
StormByte-Database is a StormByte library module for handling database connections
Loading...
Searching...
No Matches
rows.hxx
1#pragma once
2
3#include <StormByte/database/row.hxx>
4
9namespace StormByte::Database {
14 class STORMBYTE_DATABASE_PUBLIC Rows: public Iterable<std::vector<Row>> {
15 public:
20 Rows() noexcept = default;
21
26 Rows(const Rows& other) = default;
27
32 Rows(Rows&& other) noexcept = default;
33
37 ~Rows() noexcept override = default;
38
44 Rows& operator=(const Rows& other) = default;
45
51 Rows& operator=(Rows&& other) noexcept = default;
52
57 inline std::size_t Count() const noexcept {
58 return size();
59 }
60 };
61}
Rows class for databases.
Definition rows.hxx:14
Rows() noexcept=default
Adds a row to the Rows.