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

SOCI database wrapper utilities. More...

#include "utils.h"
#include "../mantisbase.h"
#include "mantisbase/core/models/entity_schema_field.h"
#include "soci/values.h"
Include dependency graph for soci_wrappers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mb
 router.h
 

Functions

soci::values mb::json2SociValue (const json &entity, const json &fields)
 
std::string mb::getColumnType (const std::string &column_name, const std::vector< json > &fields)
 
json mb::sociRow2Json (const soci::row &row, const std::vector< json > &entity_fields)
 

Detailed Description

SOCI database wrapper utilities.

Provides conversion functions between JSON objects and SOCI database value types for seamless data binding and retrieval.