[ self::CREATE_PERSON, self::INSERT_JEPHTE, ], ]); self::assertSame("clain", $sqlite->get("select nom, age from person")); self::assertSame([ "nom" => "clain", "age" => 50, ], $sqlite->get("select nom, age from person", null, true)); $sqlite->exec(self::INSERT_JEAN); self::assertSame("payet", $sqlite->get("select nom, age from person where nom = 'payet'")); self::assertSame([ "nom" => "payet", "age" => 32, ], $sqlite->get("select nom, age from person where nom = 'payet'", null, true)); self::assertSame([ ["key" => "0", "value" => self::CREATE_PERSON, "done" => 1], ["key" => "1", "value" => self::INSERT_JEPHTE, "done" => 1], ], iterator_to_array($sqlite->all("select key, value, done from _migration"))); } }