Spatie\DbDumper\Databases\Sqlite::getDumpCommand PHP Method

getDumpCommand() public method

Get the command that should be performed to dump the database.
public getDumpCommand ( string $dumpFile ) : string
$dumpFile string
return string
    public function getDumpCommand(string $dumpFile) : string
    {
        return implode(' ', ['echo $\'BEGIN IMMEDIATE;\\n.dump\' |', "\"{$this->dumpBinaryPath}sqlite3\" --bail", "\"{$this->dbName}\" >", "\"{$dumpFile}\""]);
    }