Last updated 1 year ago
Use the toDataSet method to transform an entity ORM object into a object. This method transform allows an ORM query to participate in the .
toDataSet
const dataset = Categories.select(CategoriesField.CategoryName).toDataSet(); new wire.datatables().render("#table", {data: dataset});