feat: implement command functionality with new CommandController, update Query entity, and enhance query execution with headers support

This commit is contained in:
lborv
2025-10-02 10:02:44 +03:00
parent e53e3cf92c
commit efbb9f5c21
11 changed files with 122 additions and 11 deletions

View File

@ -9,9 +9,11 @@ function createSQL(id) {
return squel.select().from("test").where("id = ?", id).toString();
}
async function main(input) {
async function main(input, headers) {
const sql = createSQL(input.id);
const res = await asyncCall(db, sql);
log(headers);
return { test: 1, array: [1, 2, [{ id: 1, name: "Test" }]] };
}