We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1cbd05 commit 54241eaCopy full SHA for 54241ea
src/Traits/HasSearchableName.php
@@ -73,4 +73,11 @@ public function saveWithoutSyncingToSearch(): void
73
$this->saveQuietly();
74
});
75
}
76
+
77
+ public function updateWithoutSyncingToSearch(array $attributes = [], array $options = []): bool
78
+ {
79
+ return $this::withoutSyncingToSearch(function () use ($attributes, $options) {
80
+ return $this->update($attributes, $options);
81
+ });
82
+ }
83
0 commit comments