View
Less than 1 minute
View
Methods
listViews
List all views in the database.
public listViews(): void
viewExists
Check if a view exists.
public viewExists(string $viewName): bool
Parameters
Parameter | Type | Description |
---|---|---|
$viewName | string |
describeView
Describe a view.
public describeView(string $name, false $): void
Parameters
Parameter | Type | Description |
---|---|---|
$name | string | |
$ | false |
createView
Create a view.
public createView(string $name, mixed $content, bool $replace = false): bool
Parameters
Parameter | Type | Description |
---|---|---|
$name | string | |
$content | mixed | |
$replace | bool |
dropView
Drop a view.
public dropView(string $name, bool $ifExists = false, bool $cascade = false): bool
Parameters
Parameter | Type | Description |
---|---|---|
$name | string | |
$ifExists | bool | |
$cascade | bool |
Generated by Hazaar API Doc Generator