Documentation

Databases extends CloudApiBase implements CloudApiInterface

Class Databases

Table of Contents

$client ClientInterface
getAll() Shows all databases in an application. DatabasesResponse
create() Create a new database. OperationResponse
delete() Delete a database. OperationResponse
truncate() Erases (truncates) a database. OperationResponse
copy() Copies a database from an environment to an environment. OperationResponse
__construct() Client constructor. mixed

Properties

Methods

truncate()

Erases (truncates) a database.

public truncate( $applicationUuid : string , $name : string ) : OperationResponse

This action will delete all tables of the database in ALL environments within this application.

Parameters
$applicationUuid : string
$name : string
Return values
OperationResponse

copy()

Copies a database from an environment to an environment.

public copy( $environmentFromUuid : string , $dbName : string , $environmentToUuid : string ) : OperationResponse
Parameters
$environmentFromUuid : string
$dbName : string
$environmentToUuid : string
Return values
OperationResponse

Search results