-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
63bb9de
commit 08caea6
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,25 +7,25 @@ import 'package:deno_postgres_interop/src/transport.dart'; | |
/// [[email protected]/ClientOptions](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions). | ||
class ClientOptions { | ||
/// [[email protected]/ClientOptions/applicationName](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions#prop_applicationName). | ||
external String get applicationName; | ||
external String? get applicationName; | ||
|
||
/// [[email protected]/ClientOptions/database](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions#prop_database). | ||
external String get database; | ||
external String? get database; | ||
|
||
/// [[email protected]/ClientOptions/hostname](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions#prop_hostname). | ||
external String get hostname; | ||
external String? get hostname; | ||
|
||
/// [[email protected]/ClientOptions/password](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions#prop_password). | ||
external String get password; | ||
external String? get password; | ||
|
||
/// [[email protected]/ClientOptions/user](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions#prop_applicationName/user). | ||
external String get user; | ||
external String? get user; | ||
} | ||
|
||
/// [[email protected]/ClientOptions](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions). | ||
extension ClientOptionsProps on ClientOptions { | ||
/// [[email protected]/ClientOptions/host_type](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions#prop_host_type). | ||
Transport get hostType => getProperty(this, 'host_type'); | ||
Transport get hostType => Transport.parse(getProperty(this, 'host_type')); | ||
|
||
/// [[email protected]/ClientOptions/options](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions#prop_options). | ||
/// | ||
|