Appearance
CreateExtensionAsync Method
Definition
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Task<bool> CreateExtensionAsync(string extension, string schema = null)
csharp
Task<bool> CreateExtensionAsync(string extension, string schema = null)Asynchronously installs the specified PostgreSQL extension if it is not already present.
Parameters
| Name | Description |
|---|---|
extension | Extension name (for example citext or vector). |
schema | Optional target schema for a new install (WITH SCHEMA). When or whitespace, Postgres chooses the default schema. Ignored when the extension is already installed. |