MCPcopy Create free account
hub / github.com/Alex-developer/agsattrack / update_all

Method update_all

php/framework/libs/o/lib/Model.php:958–984  ·  view source on GitHub ↗

* Updates records using set in $options * * Does not instantiate models and therefore does not invoke callbacks * * Update all using a hash: * * * YourModel::update_all(array('set' => array('name' => "Bob"))); * * * Update all using a string: * * * YourModel::update_all(array('set' => 'name = "Bob"')); * * * An options array takes the f

($options=array())

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 11

is_hashFunction · 0.70
tableMethod · 0.45
connectionMethod · 0.45
updateMethod · 0.45
whereMethod · 0.45
limitMethod · 0.45
orderMethod · 0.45
bind_valuesMethod · 0.45
queryMethod · 0.45
to_sMethod · 0.45