laravel eloquent model on table with condition

前端 未结 0 1868
暖寄归人
暖寄归人 2021-01-21 23:03

I want to ask if is possible with eloquent making model with condition on column. for example, i want to make table users with column role enum(\'teacher\',\'student\') how to m

相关标签:
回答
  • 消灭零回复
提交回复
热议问题