Implement our own database ORM, and update the whole code to use it
Entirely replace LiteSQL fix #3271
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
template <typename T>
|
||||
struct Column
|
||||
{
|
||||
using real_type = T;
|
||||
T value;
|
||||
};
|
||||
|
||||
struct Id: Column<std::size_t> { static constexpr auto name = "id_";
|
||||
static constexpr auto options = "PRIMARY KEY AUTOINCREMENT"; };
|
||||
Reference in New Issue
Block a user