See more
While this is convenient for development needs, it is considered bad practice to couple an environment with your application, so keep it out by adding .env to your .gitignore file.
.env
.gitignore
es we… query string that will never change in function of the number of items. Only the variables we send will change:
es we
To resolve this issue we can use the aliases. The same query can be then rewritten with aliases like this