메소드 | 설명 | |
---|---|---|
all ( ) : mixed | Get all models. | |
byId ( integer $id ) : mixed | Get a model by id. | |
byPage ( integer $page = 1, integer $limit = 10 ) : mixed | Get paginated models. | |
create ( array $data ) : mixed | Create a new model. | |
delete ( integer $id ) : mixed | Delete an existing model. | |
update ( array $data ) : mixed | Update an existing model. |