very basic version of usql
This commit is contained in:
24
ml_usql.h
Normal file
24
ml_usql.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include "ml.h"
|
||||
#include "usql/usql.h"
|
||||
|
||||
|
||||
class uSQL : public usql::USql {
|
||||
|
||||
private:
|
||||
uSQL() {};
|
||||
|
||||
public:
|
||||
static uSQL& instance(){
|
||||
static uSQL instance;
|
||||
return instance;
|
||||
}
|
||||
|
||||
public:
|
||||
MlValue execute(const std::string &command);
|
||||
|
||||
private:
|
||||
MlValue ivaluize(const usql::Table *table);
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user