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

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

#include <string>
#include "mantisbase/mantis.h"
#include "mantisbase/core/exceptions.h"
#include "mantisbase/utils/soci_wrappers.h"
#include "../types.h"
#include "access_rules.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

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

Namespaces

namespace  mb
 router.h
 

Typedefs

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

Detailed Description

Entity 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.