$build
Create a new record in the table. The $build method is used to insert a single entry into the database by providing the required data. This method validates the input data against the schema before saving it to ensure consistency and integrity.
Last updated