Executing Queries
ExecAsync
const accountService = new wire.data.DataSource("custom", {
ServiceRoot: "./account"
});
const query = wire.data.select()
.from("Users")
.where().eq("Active", true);
const users = await accountService.execAsync(query);Short-Hand
...
const users = await wire.data.select()
.from("Users")
.where().eq("Active", true)
.execAsync(accountService);TypeScript
DataTables
Exec
Last updated
Was this helpful?