You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to documentation, changes sorted by primary key and if there are no primary key by the values of the row (for a modification).
My table has a primary key, but it doesn't fit because it has a type UUID. So the changes is sorted randomly.
Is there any function to set sorting on any other field? If not, can you add?
// Get the data from "members" table and order on "name" column in ascending orderTabletable = newTable(source, "members", newOrder[] { Order.asc("name") });
According to documentation, changes sorted by primary key and if there are no primary key by the values of the row (for a modification).
My table has a primary key, but it doesn't fit because it has a type UUID. So the changes is sorted randomly.
Is there any function to set sorting on any other field? If not, can you add?
I tried like below code, it doesn't work:
Table(dataSource, "table_name", arrayOf(Order.asc("created")))...
The text was updated successfully, but these errors were encountered: