battis / restful-api

https://battis.github.io/restful-api/
0 stars 0 forks source link

is there a more robust way to handle multiple SQL queries? #37

Open battis opened 1 year ago

battis commented 1 year ago

src/Fixture/Fixture.php

        // TODO is there a more robust way to handle multiple SQL queries?
        foreach (explode(';', $this->getSchema()->getSQL()) as $sql) {
            Query::fromString($sql)->executeWith($pdo);
        }