Is aliases declaration reversed on purpose?

Every xDMS I used offers alias declaration as

FIELD_THAT_EXISTS as ALIAS_NAME

And it is grammatically correct: meaning "we will call that field as ‘‘alias’’ "
It is not “Player_one as Denis”, but “Denis as Player_one”.

Is there any eye-opening explanation of why it is reversed in DQL, or it will be changed soon to be convenient? :slight_smile:

1 Like

It follows the alias syntax from GraphQL because DQL roots were around being a GraphQL like database query language but for obvious reasons the GraphQL syntaxes alone was not enough and IMHO, the DQL syntax still isn’t either.

2 Likes

Sounds like there is no plans to change that :slight_smile:
But explanation is eye-opening, thank you!