Skip to content

Adding fillable property#50

Merged
yidas merged 1 commit into
yidas:masterfrom
prabch:master
Jan 1, 2022
Merged

Adding fillable property#50
yidas merged 1 commit into
yidas:masterfrom
prabch:master

Conversation

@prabch
Copy link
Copy Markdown
Contributor

@prabch prabch commented Dec 27, 2021

let you define a protected fillable property to be checked against prior to insert/update methods. currently not available for batch insert/update methods.

#example

class Posts_model extends yidas\Model
{
protected $fillable = [
'name', 'body', 'status'
];
}

let you define a protected fillable property to be checked against prior to insert/update methods. currently not available for batch insert/update methods.
@yidas yidas merged commit ae4aebd into yidas:master Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants