setType($type); $objectData = new Foo(); $this->database->update("account", [ "type" => "user", "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); } }