Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
League
Monga
Query
Update
upsert
League\Monga\Query\Update::upsert PHP Метод
Документация по классу Update
Показать файл
Открыть проект
upsert()
публичный
Метод
Set the upsert option.
public
upsert
(
boolean
$upsert
= true ) :
object
$upsert
boolean
whether to allow upserts
Результат
object
$this
public function upsert($upsert = true) { $this->upsert = (bool) $upsert; return $this; }
Update
addToSet
atomic
getOptions
getUpdate
increment
multiple
pop
pull
pullAll
push
pushAll
remove
rename
set
single
unshift
update
upsert