toQuery
TableQuery
...
let query = Categories.select(CategoriesField.CategoryName).toQuery();
query.field("ProductName")
.join("Products", "CategoryId").on("Categories", "CategoryId");
const table: IWireDataTable = await Northwind.execAsync(query);
// print the first row to the console log
console.log(table.select().first());
// log-> { CategoryName: "Dairy Products", ProductName: "Queso Cabrales" }Last updated