StoredFunction
Less than 1 minute
StoredFunction
Methods
listFunctions
List functions in the database.
public listFunctions(bool $includeParameters = false): void
Parameters
Parameter | Type | Description |
---|---|---|
$includeParameters | bool |
functionExists
Check if a function exists in the database.
public functionExists(string $functionName, ?string $argTypes): bool
Parameters
Parameter | Type | Description |
---|---|---|
$functionName | string | |
$argTypes | string |
describeFunction
Describe a function in the database.
public describeFunction(string $name, false $): void
Parameters
Parameter | Type | Description |
---|---|---|
$name | string | |
$ | false |
createFunction
Create a function in the database.
public createFunction(string $name, mixed $spec, bool $replace = false): bool
Parameters
Parameter | Type | Description |
---|---|---|
$name | string | |
$spec | mixed | |
$replace | bool |
dropFunction
Drop a function from the database.
public dropFunction(string $name, string $argTypes, bool $cascade = false, bool $ifExists = false): bool
Parameters
Parameter | Type | Description |
---|---|---|
$name | string | |
$argTypes | string | |
$cascade | bool | |
$ifExists | bool |
Generated by Hazaar API Doc Generator