Jump to:

5537 Posts in 1737 Topics by 1223 members

Customising the CMS

SilverStripe Forums » Customising the CMS » How to alias feild in silverstripe?

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 268 Views
  • anudeepgi
    Avatar
    Community Member
    11 Posts

    How to alias feild in silverstripe? Link to this post

    Hi anyone can give me querying in silverstripe making feild alias, please thanx in Advance

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: How to alias feild in silverstripe? Link to this post

    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.

    268 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.