blob: 3945b6a3b3899dbda64d23bcdbe74f3e7aae625a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef GENTOOBROWSE_API_SERVICE_MAINTENANCE_SPLITEBUILDPROPS_H
#define GENTOOBROWSE_API_SERVICE_MAINTENANCE_SPLITEBUILDPROPS_H
#include "wrap/ustring.h"
#include <optional>
#include <sqlWriter.h>
namespace Gentoo {
namespace Utils {
class SplitEbuildProps : public DB::SqlWriter {
public:
SplitEbuildProps(
const std::string & ce, int64_t e, const std::string & cp, const std::optional<Glib::ustring> & p);
void writeSql(AdHoc::Buffer & sql) override;
void bindParams(DB::Command * c, unsigned int & offset) override;
const int64_t entityId;
const std::string colEntityName, colPropName;
const std::optional<Glib::ustring> props;
};
}
}
#endif
|