Executing Queries
const dataset = new wire.data.DataSet({
Source: new wire.data.DataSource("custom", {
ServiceRoot: "./account"
}),
Query: wire.data.select().from("Users")
});
const data = dataset.execAsync().done((data) => {
// 'data' will contain the results of the query
});Data Promises
const dataset = new wire.data.DataSet({
Source: new wire.data.DataSource("custom", {
ServiceRoot: "./account"
}),
Query: wire.data.select().from("Users")
});
dataset.execAsyncListen().done((data) => {
// 'data' will contain the results of the query
// This will be called if any changes to the query in the dataset
// are detected and new data becomes available
});Promise Callbacks
DataTable Results
Refreshing Data
Response Data
Last updated
Was this helpful?