Hi anyone can give me querying in silverstripe making feild alias, please thanx in Advance
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Alias? As in a database alias? If you're using the ORM you cannot alias the query fields. If you're using a direct DB query (such as DB::query()) you can alias it however your RDBMS does as this will simply return you an array of data.