Back
properties()
Returns a structure of all the properties with their names as keys and the values of the property as values.
// Get a structure of all the properties for an object
user = model("user").findByKey(1);
props = user.properties();
Copied!