diff --git a/queries.md b/queries.md index e7d70aa612..7a19458bb1 100644 --- a/queries.md +++ b/queries.md @@ -803,6 +803,11 @@ If you wish to truncate the entire table, which will remove all rows and reset t DB::table('users')->truncate(); + +#### Table Truncation & PostgreSQL + +When truncating a PostgreSQL database, the `CASCADE` behavior will be applied. This means that all foreign key related records in other tables will be deleted as well. + ## Pessimistic Locking