View
Less than 1 minute
View
Methods
listViews
Retrieves a list of views from the database.
public listViews(): void
describeView
Retrieves the description of a database view.
public describeView(string $name, false $): void
Parameters
Parameter | Type | Description |
---|---|---|
$name | string | the name of the view |
$ | false |
createView
public createView(string $name, mixed $content, bool $replace = false): bool
Parameters
Parameter | Type | Description |
---|---|---|
$name | string | |
$content | mixed | |
$replace | bool |
viewExists
public viewExists(string $viewName): bool
Parameters
Parameter | Type | Description |
---|---|---|
$viewName | string |
dropView
public dropView(string $name, bool $cascade = false, bool $ifExists = false): bool
Parameters
Parameter | Type | Description |
---|---|---|
$name | string | |
$cascade | bool | |
$ifExists | bool |
Generated by Hazaar API Doc Generator