1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:47:45 +00:00

SQLServer+SQLStudio+sql: Allow sending placeholder values to SQLServer

This commit is contained in:
Timothy Flynn 2022-12-02 08:17:50 -05:00 committed by Andreas Kling
parent b13527b8b2
commit 8fcb8c30c6
7 changed files with 16 additions and 10 deletions

View file

@ -1,7 +1,9 @@
#include <LibSQL/Value.h>
endpoint SQLServer
{
connect(DeprecatedString name) => (int connection_id)
prepare_statement(int connection_id, DeprecatedString statement) => (int statement_id)
execute_statement(int statement_id) =|
execute_statement(int statement_id, Vector<SQL::Value> placeholder_values) =|
disconnect(int connection_id) =|
}