$restore

Restore records that were previously soft-deleted from the table. The $restore method is used to recover soft-deleted entries by updating their deleted status, making them active and available again. This method only works if soft delete functionality is enabled for the table.

Query
Parameter's

$where

<StaticProps>

$options

<FindOptions>

var restoredMember = await Member.$restore({
    $where: {
        nexorm_id: '7ca9320b-1803-459....'
    },
    $options: {
        $logging(sql, benchmark) {
            console.log(sql.toString());
        }
    }
});

Last updated