Skip to content

Commit 37850cf

Browse files
comment consistency (#13)
1 parent c588ea1 commit 37850cf

File tree

6 files changed

+28
-28
lines changed

6 files changed

+28
-28
lines changed

lib/src/isolation_level.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/// [postgresql/Transaction Isolation](https://www.postgresql.org/docs/current/transaction-iso.html).
1+
/// [[email protected]/Transaction Isolation](https://www.postgresql.org/docs/current/transaction-iso.html).
22
enum IsolationLevel {
3-
/// [postgresql/Transaction Isolation/Read Committed Isolation Level](https://www.postgresql.org/docs/current/transaction-iso.html#XACT-READ-COMMITTED).
3+
/// [[email protected]/Transaction Isolation/Read Committed Isolation Level](https://www.postgresql.org/docs/current/transaction-iso.html#XACT-READ-COMMITTED).
44
readCommitted,
55

6-
/// [postgresql/Transaction Isolation/Repeatable Read Isolation Level](https://www.postgresql.org/docs/current/transaction-iso.html#XACT-REPEATABLE-READ).
6+
/// [[email protected]/Transaction Isolation/Repeatable Read Isolation Level](https://www.postgresql.org/docs/current/transaction-iso.html#XACT-REPEATABLE-READ).
77
repeatableRead,
88

9-
/// [postgresql/Transaction Isolation/Serializable Isolation Level](https://www.postgresql.org/docs/current/transaction-iso.html#XACT-SERIALIZABLE).
9+
/// [[email protected]/Transaction Isolation/Serializable Isolation Level](https://www.postgresql.org/docs/current/transaction-iso.html#XACT-SERIALIZABLE).
1010
serializable;
1111

1212
/// Parses a string containing an [IsolationLevel] literal into its instance.

lib/src/query_client.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ import 'package:deno_postgres_interop/src/transaction.dart';
77
import 'package:deno_postgres_interop/src/transaction_options.dart';
88
import 'package:deno_postgres_interop/src/util.dart';
99

10-
/// [[email protected]/QueryClient](https://deno.land/x/[email protected]/mod.ts?s=QueryClient).
10+
/// [deno-[email protected]/QueryClient](https://deno.land/x/[email protected]/mod.ts?s=QueryClient).
1111
@JS()
1212
class QueryClient {}
1313

14-
/// [[email protected]/QueryClient](https://deno.land/x/[email protected]/mod.ts?s=QueryClient).
14+
/// [deno-[email protected]/QueryClient](https://deno.land/x/[email protected]/mod.ts?s=QueryClient).
1515
extension QueryClientProps on QueryClient {
16-
/// [[email protected]/QueryClient/connect](https://deno.land/x/[email protected]/mod.ts?s=QueryClient#method_connect_0).
16+
/// [deno-[email protected]/QueryClient/connect](https://deno.land/x/[email protected]/mod.ts?s=QueryClient#method_connect_0).
1717
Future<void> connect() => callFutureMethod(this, 'connect');
1818

19-
/// [[email protected]/QueryClient/end](https://deno.land/x/[email protected]/mod.ts?s=QueryClient#method_end_0).
19+
/// [deno-[email protected]/QueryClient/end](https://deno.land/x/[email protected]/mod.ts?s=QueryClient#method_end_0).
2020
Future<void> end() => callFutureMethod(this, 'end');
2121

22-
/// [[email protected]/QueryClient/createTransaction](https://deno.land/x/[email protected]/mod.ts?s=QueryClient#method_createTransaction_0).
22+
/// [deno-[email protected]/QueryClient/createTransaction](https://deno.land/x/[email protected]/mod.ts?s=QueryClient#method_createTransaction_0).
2323
Transaction createTransaction(String name, [TransactionOptions? options]) =>
2424
callMethod(
2525
this,
@@ -46,7 +46,7 @@ extension QueryClientProps on QueryClient {
4646
return result;
4747
}
4848

49-
/// [[email protected]/QueryClient/queryObject](https://deno.land/x/[email protected]/mod.ts?s=QueryClient#method_queryObject_0).
49+
/// [deno-[email protected]/QueryClient/queryObject](https://deno.land/x/[email protected]/mod.ts?s=QueryClient#method_queryObject_0).
5050
Future<QueryObjectResult<T>> queryObject<T>(
5151
String query, [
5252
QueryArguments? arguments,

lib/src/query_object.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import 'package:deno_postgres_interop/deno_postgres_interop.dart';
22
import 'package:deno_postgres_interop/src/util.dart';
33

4-
/// [[email protected]/QueryArguments](https://deno.land/x/[email protected]/query/query.ts?s=QueryArguments).
4+
/// [deno-[email protected]/QueryArguments](https://deno.land/x/[email protected]/query/query.ts?s=QueryArguments).
55
typedef QueryArguments = Object;
66

77
/// Common method between all Clients.
88
///
9-
/// [[email protected]/Transaction/queryObject](https://deno.land/x/[email protected]/mod.ts?s=Transaction#method_queryObject_0).
10-
/// [[email protected]/QueryClient/queryObject](https://deno.land/x/[email protected]/mod.ts?s=QueryClient#method_queryObject_0).
9+
/// [deno-[email protected]/Transaction/queryObject](https://deno.land/x/[email protected]/mod.ts?s=Transaction#method_queryObject_0).
10+
/// [deno-[email protected]/QueryClient/queryObject](https://deno.land/x/[email protected]/mod.ts?s=QueryClient#method_queryObject_0).
1111
Future<QueryObjectResult<T>> queryObjectCommon<T>(
1212
Object queryable,
1313
String query, [

lib/src/query_object_result.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import 'dart:js_interop';
22
import 'dart:js_util';
33

4-
/// [[email protected]/QueryObjectResult](https://deno.land/x/[email protected]/query/query.ts?s=QueryObjectResult).
4+
/// [deno-[email protected]/QueryObjectResult](https://deno.land/x/[email protected]/query/query.ts?s=QueryObjectResult).
55
@JS()
66
class QueryObjectResult<T> {
7-
/// [[email protected]/QueryObjectResult/columns](https://deno.land/x/[email protected]/query/query.ts?s=QueryObjectResult#prop_columns).
7+
/// [deno-[email protected]/QueryObjectResult/columns](https://deno.land/x/[email protected]/query/query.ts?s=QueryObjectResult#prop_columns).
88
external List<String>? get columns;
99
}
1010

11-
/// [[email protected]/QueryObjectResult](https://deno.land/x/[email protected]/query/query.ts?s=QueryObjectResult).
11+
/// [deno-[email protected]/QueryObjectResult](https://deno.land/x/[email protected]/query/query.ts?s=QueryObjectResult).
1212
extension QueryObjectResultProps<T> on QueryObjectResult<T> {
13-
/// [[email protected]/QueryObjectResult/rows](https://deno.land/x/[email protected]/query/query.ts?s=QueryObjectResult#prop_rows).
13+
/// [deno-[email protected]/QueryObjectResult/rows](https://deno.land/x/[email protected]/query/query.ts?s=QueryObjectResult#prop_rows).
1414
List<Map<String, dynamic>> get rows =>
1515
// ignore: cast_nullable_to_non_nullable
1616
(dartify(getProperty(this, 'rows')) as List)

lib/src/transaction.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ import 'package:deno_postgres_interop/src/query_object.dart';
44
import 'package:deno_postgres_interop/src/query_object_result.dart';
55
import 'package:deno_postgres_interop/src/util.dart';
66

7-
/// [[email protected]/Transaction](https://deno.land/x/[email protected]/mod.ts?s=Transaction).
7+
/// [deno-[email protected]/Transaction](https://deno.land/x/[email protected]/mod.ts?s=Transaction).
88
@JS()
99
class Transaction {}
1010

11-
/// [[email protected]/Transaction](https://deno.land/x/[email protected]/mod.ts?s=Transaction).
11+
/// [deno-[email protected]/Transaction](https://deno.land/x/[email protected]/mod.ts?s=Transaction).
1212
extension TransactionProps on Transaction {
13-
/// [[email protected]/Transaction/begin](https://deno.land/x/[email protected]/mod.ts?s=Transaction#method_begin_0).
13+
/// [deno-[email protected]/Transaction/begin](https://deno.land/x/[email protected]/mod.ts?s=Transaction#method_begin_0).
1414
Future<void> begin() => callFutureMethod(this, 'begin');
1515

16-
/// [[email protected]/Transaction/commit](https://deno.land/x/[email protected]/mod.ts?s=Transaction#method_commit_0).
16+
/// [deno-[email protected]/Transaction/commit](https://deno.land/x/[email protected]/mod.ts?s=Transaction#method_commit_0).
1717
Future<void> commit() => callFutureMethod(this, 'commit');
1818

19-
/// [[email protected]/Transaction/queryObject](https://deno.land/x/[email protected]/mod.ts?s=Transaction#method_queryObject_0).
19+
/// [deno-[email protected]/Transaction/queryObject](https://deno.land/x/[email protected]/mod.ts?s=Transaction#method_queryObject_0).
2020
Future<QueryObjectResult<T>> queryObject<T>(
2121
String query, [
2222
QueryArguments? arguments,

lib/src/transaction_options.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import 'dart:js_util';
33

44
import 'package:deno_postgres_interop/src/isolation_level.dart';
55

6-
/// [[email protected]/TransactionOptions](https://deno.land/x/[email protected]/mod.ts?s=TransactionOptions).
6+
/// [deno-[email protected]/TransactionOptions](https://deno.land/x/[email protected]/mod.ts?s=TransactionOptions).
77
@JS()
88
class TransactionOptions {
9-
/// [[email protected]/TransactionOptions/snapshot](https://deno.land/x/[email protected]/mod.ts?s=TransactionOptions).
9+
/// [deno-[email protected]/TransactionOptions/snapshot](https://deno.land/x/[email protected]/mod.ts?s=TransactionOptions).
1010
external String? get snapshot;
1111

12-
/// [[email protected]/TransactionOptions/constructor](https://deno.land/x/[email protected]/mod.ts?s=TransactionOptions).
12+
/// [deno-[email protected]/TransactionOptions/constructor](https://deno.land/x/[email protected]/mod.ts?s=TransactionOptions).
1313
factory TransactionOptions({
1414
IsolationLevel? isolationLevel,
1515
bool? isReadOnly,
@@ -22,15 +22,15 @@ class TransactionOptions {
2222
}) as TransactionOptions;
2323
}
2424

25-
/// [[email protected]/TransactionOptions](https://deno.land/x/[email protected]/mod.ts?s=TransactionOptions).
25+
/// [deno-[email protected]/TransactionOptions](https://deno.land/x/[email protected]/mod.ts?s=TransactionOptions).
2626
extension TransactionOptionsProps on TransactionOptions {
27-
/// [[email protected]/TransactionOptions/isolation_level](https://deno.land/x/[email protected]/mod.ts?s=TransactionOptions).
27+
/// [deno-[email protected]/TransactionOptions/isolation_level](https://deno.land/x/[email protected]/mod.ts?s=TransactionOptions).
2828
IsolationLevel? get isolationLevel {
2929
final jsProperty = getProperty<String?>(this, 'isolation_level');
3030

3131
return jsProperty == null ? null : IsolationLevel.parse(jsProperty);
3232
}
3333

34-
/// [[email protected]/TransactionOptions/read_only](https://deno.land/x/[email protected]/mod.ts?s=TransactionOptions).
34+
/// [deno-[email protected]/TransactionOptions/read_only](https://deno.land/x/[email protected]/mod.ts?s=TransactionOptions).
3535
bool? get isReadOnly => getProperty(this, 'read_only');
3636
}

0 commit comments

Comments
 (0)