← Back to Stormify Documentation

orderByIdDialect

A helper method to ask for order by id on different databases. This is used to create a query that, before any other sorting, fetches a specific entity first.

The first parameter is the name of the id column, and the second is the value of the id.

The result is a string that can be used in the order by part of a query.