First page Back Continue Last page Overview Text


One of the behaviors that models give you by default is that you can index directly into them by primary key. So if your primary key is id, you can index into the model class with 1 to return a model instance for the row with id 1.