setType($type); $objectData = new Foo(); $this->database->update("account", [ "type" => "user", "money" => 23.2, "age[+]" => 1, "level[-]" => 5, "score[*]" => 2, "lang" => ["en", "fr"], "lang [JSON]" => ["en", "fr"], "is_locked" => true, "uuid" => Medoo::raw("UUID()"), "object" => $objectData ], [ "user_id[<]" => 1000 ]); $this->assertQuery([ 'default' => << <<database->queryString); } public function testOracleLOBsUpdate() { $this->setType("oracle"); $fp = fopen('README.md', 'r'); $this->database->update("ACCOUNT", [ "DATA" => $fp ], [ "ID" => 1 ]); $this->assertQuery( <<database->queryString ); } }