• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unknown column in order clause

#1
Hello everyone! 

I've a problem returning the first row of the result set with the first() method (i suppose).


PHP Code:
Unknown column 'games.id' in 'order clause' 

This is the Migration
   

This is the GamesModel
   

This is the Games Controller
   

If a change the id filed in "id" everything works fine. 

Does It is a convention to follow?

If yes, how can i bypass this behaviour?

Thank you all. 

PS Version 4 is awesome! Great work.
Reply


Messages In This Thread
Unknown column in order clause - by antoniocapuozzo - 07-01-2019, 12:21 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.