⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

set relation returning a number in sql rather than field name



aneesh

aneesh
  • profile picture
  • Member

Posted 09 October 2013 - 14:36 PM

Hi,

I really got mad with this . I have a created a view which contains set_relation and added the columns which I need to display . But that field is not displaying . In the query that field name is displaying as number. My question is that number is unique?

or is there any way to get the field name?

 


briggers

briggers
  • profile picture
  • Member

Posted 09 October 2013 - 15:39 PM

Hi aneesh,

 

Post your controller here (as code) so we can see what it is doing. If I understand your question correctly it should work, but you may have an error in the code.