PHP Class Spatie\DbDumper\Databases\PostgreSql

Inheritance: extends Spatie\DbDumper\DbDumper
Afficher le fichier Open project: spatie/db-dumper

Protected Properties

Свойство Type Description
$useInserts boolean

Méthodes publiques

Méthode Description
__construct ( )
dumpToFile ( string $dumpFile ) Dump the contents of the database to the given file.
getContentsOfCredentialsFile ( ) : string
getDumpCommand ( string $dumpFile ) : string Get the command that should be performed to dump the database.
useInserts ( )

Méthodes protégées

Méthode Description
getEnvironmentVariablesForDumpCommand ( string $temporaryCredentialsFile ) : array
guardAgainstIncompleteCredentials ( )

Method Details

__construct() public méthode

public __construct ( )

dumpToFile() public méthode

Dump the contents of the database to the given file.
public dumpToFile ( string $dumpFile )
$dumpFile string

getContentsOfCredentialsFile() public méthode

public getContentsOfCredentialsFile ( ) : string
Résultat string

getDumpCommand() public méthode

Get the command that should be performed to dump the database.
public getDumpCommand ( string $dumpFile ) : string
$dumpFile string
Résultat string

getEnvironmentVariablesForDumpCommand() protected méthode

protected getEnvironmentVariablesForDumpCommand ( string $temporaryCredentialsFile ) : array
$temporaryCredentialsFile string
Résultat array

guardAgainstIncompleteCredentials() protected méthode

useInserts() public méthode

public useInserts ( )

Property Details

$useInserts protected_oe property

protected bool $useInserts
Résultat boolean