public function update($class)
{
$commandClass = $this->getCommandClass('update');
$this->command = new $commandClass($class);
return $this->command;
}
public function testHydrationOfALongProperty() { $manager = $this->createManager(); $query = new Query(); $query->update('Profile')->set(array('hash' => 2937480))->where('@rid = ?', '#' . $this->getClassId('Profile') . ':0'); $manager->execute($query); $neoProfile = $manager->find("#" . $this->getClassId('Profile') . ":0"); $this->assertInternalType('integer', $neoProfile->hash); }