MantisBase v0.4.9
Loading...
Searching...
No Matches
entity.h File Reference

MbEntity class for database table operations and CRUD functionality. More...

#include <string>
#include <string_view>
#include <memory>
#include "mantisbase/mantis.h"
#include "mantisbase/core/exceptions.h"
#include "mantisbase/utils/soci_wrappers.h"
#include "../types.h"
#include "access_rules.h"
#include "auth_methods.h"
Include dependency graph for entity.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mb::EntityListPage
class  mb::MbEntity
 Represents a database table/entity with schema and CRUD operations. More...

Namespaces

namespace  mb

Typedefs

using mb::Record = nlohmann::json
 Single database record as JSON object.
using mb::Records = std::vector<Record>
 Collection of database records.

Variables

constexpr int mb::MAX_LIST_PAGE_SIZE = 500

Detailed Description

MbEntity class for database table operations and CRUD functionality.

Represents a database table/entity with schema information and provides methods for creating, reading, updating, and deleting records.