diff --git a/lib/src/isolation_level.dart b/lib/src/isolation_level.dart index 3b2016a..afb85bf 100644 --- a/lib/src/isolation_level.dart +++ b/lib/src/isolation_level.dart @@ -1,12 +1,12 @@ -/// https://www.postgresql.org/docs/current/transaction-iso.html +/// [postgresql/Transaction Isolation](https://www.postgresql.org/docs/current/transaction-iso.html). enum IsolationLevel { - /// [postgresql/Transaction Isolation/Read Committed Isolation Level](https://www.postgresql.org/docs/current/transaction-iso.html#XACT-READ-COMMITTED) + /// [postgresql/Transaction Isolation/Read Committed Isolation Level](https://www.postgresql.org/docs/current/transaction-iso.html#XACT-READ-COMMITTED). readCommitted, - /// [postgresql/Transaction Isolation/Repeatable Read Isolation Level](https://www.postgresql.org/docs/current/transaction-iso.html#XACT-REPEATABLE-READ) + /// [postgresql/Transaction Isolation/Repeatable Read Isolation Level](https://www.postgresql.org/docs/current/transaction-iso.html#XACT-REPEATABLE-READ). repeatableRead, - /// [postgresql/Transaction Isolation/Serializable Isolation Level](https://www.postgresql.org/docs/current/transaction-iso.html#XACT-SERIALIZABLE) + /// [postgresql/Transaction Isolation/Serializable Isolation Level](https://www.postgresql.org/docs/current/transaction-iso.html#XACT-SERIALIZABLE). serializable; /// Parses a string containing an [IsolationLevel] literal into its instance. diff --git a/lib/src/query_object.dart b/lib/src/query_object.dart index 491ff58..ed0074d 100644 --- a/lib/src/query_object.dart +++ b/lib/src/query_object.dart @@ -1,7 +1,7 @@ import 'package:deno_postgres_interop/deno_postgres_interop.dart'; import 'package:deno_postgres_interop/src/util.dart'; -/// [postgres@v0.17.0/QueryArguments](https://deno.land/x/postgres@v0.17.0/query/query.ts?s=QueryArguments) +/// [postgres@v0.17.0/QueryArguments](https://deno.land/x/postgres@v0.17.0/query/query.ts?s=QueryArguments). typedef QueryArguments = Object; /// Common method between all Clients. diff --git a/lib/src/transaction_options.dart b/lib/src/transaction_options.dart index 20fa52d..bb1c924 100644 --- a/lib/src/transaction_options.dart +++ b/lib/src/transaction_options.dart @@ -3,13 +3,13 @@ import 'dart:js_util'; import 'package:deno_postgres_interop/src/isolation_level.dart'; -/// [postgres@v0.17.0/TransactionOptions](https://deno.land/x/postgres@v0.17.0/mod.ts?s=TransactionOptions) +/// [postgres@v0.17.0/TransactionOptions](https://deno.land/x/postgres@v0.17.0/mod.ts?s=TransactionOptions). @JS() class TransactionOptions { - /// [postgres@v0.17.0/TransactionOptions/snapshot](https://deno.land/x/postgres@v0.17.0/mod.ts?s=TransactionOptions) + /// [postgres@v0.17.0/TransactionOptions/snapshot](https://deno.land/x/postgres@v0.17.0/mod.ts?s=TransactionOptions). external String? get snapshot; - /// [postgres@v0.17.0/TransactionOptions/constructor](https://deno.land/x/postgres@v0.17.0/mod.ts?s=TransactionOptions) + /// [postgres@v0.17.0/TransactionOptions/constructor](https://deno.land/x/postgres@v0.17.0/mod.ts?s=TransactionOptions). factory TransactionOptions({ IsolationLevel? isolationLevel, bool? isReadOnly, @@ -22,15 +22,15 @@ class TransactionOptions { }) as TransactionOptions; } -/// [postgres@v0.17.0/TransactionOptions](https://deno.land/x/postgres@v0.17.0/mod.ts?s=TransactionOptions) +/// [postgres@v0.17.0/TransactionOptions](https://deno.land/x/postgres@v0.17.0/mod.ts?s=TransactionOptions). extension TransactionOptionsProps on TransactionOptions { - /// [postgres@v0.17.0/TransactionOptions/isolation_level](https://deno.land/x/postgres@v0.17.0/mod.ts?s=TransactionOptions) + /// [postgres@v0.17.0/TransactionOptions/isolation_level](https://deno.land/x/postgres@v0.17.0/mod.ts?s=TransactionOptions). IsolationLevel? get isolationLevel { final jsProperty = getProperty(this, 'isolation_level'); return jsProperty == null ? null : IsolationLevel.parse(jsProperty); } - /// [postgres@v0.17.0/TransactionOptions/read_only](https://deno.land/x/postgres@v0.17.0/mod.ts?s=TransactionOptions) + /// [postgres@v0.17.0/TransactionOptions/read_only](https://deno.land/x/postgres@v0.17.0/mod.ts?s=TransactionOptions). bool? get isReadOnly => getProperty(this, 'read_only'); }