Index Type by Descending meta.created


I want to index my type descending by meta.created, so that whenever it is fetched I get the most recent one first, without having to set orders in my calls. Is this possible? I tried the following with no luck.

entity type MyType schema name 'MT' {


@db(index) will create database index so ordering by it during fetch will be more efficient

Currently there is no way to override default order (by id) during fetch on a root entity type - see @db(order) for ordering fkey array fields

If you think this is a useful feature please log enhancement request