mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:47:35 +00:00
SQLServer+SQLStudio+sql: Allow sending placeholder values to SQLServer
This commit is contained in:
parent
b13527b8b2
commit
8fcb8c30c6
7 changed files with 16 additions and 10 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <AK/DeprecatedString.h>
|
||||
#include <AK/NonnullRefPtr.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibCore/Object.h>
|
||||
#include <LibSQL/AST/AST.h>
|
||||
#include <LibSQL/Result.h>
|
||||
|
@ -27,7 +28,7 @@ public:
|
|||
static RefPtr<SQLStatement> statement_for(int statement_id);
|
||||
int statement_id() const { return m_statement_id; }
|
||||
DatabaseConnection* connection() { return dynamic_cast<DatabaseConnection*>(parent()); }
|
||||
void execute();
|
||||
void execute(Vector<SQL::Value> placeholder_values);
|
||||
|
||||
private:
|
||||
SQLStatement(DatabaseConnection&, NonnullRefPtr<SQL::AST::Statement> statement);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue