Skip to content

Commit

Permalink
refactor: move sql adapter files into adapter folder for postgres.
Browse files Browse the repository at this point in the history
  • Loading branch information
SandPod committed Feb 14, 2024
1 parent f9e0ed6 commit f279bde
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ import 'package:retry/retry.dart';
import 'package:serverpod/src/database/concepts/columns.dart';
import 'package:serverpod/src/database/concepts/table_relation.dart';
import 'package:serverpod/src/database/sql_query_builder.dart';
import 'package:serverpod/src/database/database_result.dart';
import 'package:serverpod/src/database/adapters/postgres/database_result.dart';
import 'package:serverpod/src/database/concepts/includes.dart';
import 'package:serverpod/src/database/concepts/order.dart';
import 'package:serverpod/src/database/concepts/transaction.dart';

import '../generated/protocol.dart';
import '../server/session.dart';
import 'database_pool_manager.dart';
import 'concepts/expressions.dart';
import 'concepts/table.dart';
import '../../../generated/protocol.dart';
import '../../../server/session.dart';
import '../../database_pool_manager.dart';
import '../../concepts/expressions.dart';
import '../../concepts/table.dart';

/// A connection to the database. In most cases the [Database] db object in
/// the [Session] object should be used when connecting with the database.
Expand Down
2 changes: 1 addition & 1 deletion packages/serverpod/lib/src/database/database.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import 'package:serverpod/src/database/concepts/order.dart';
import 'package:serverpod/src/database/concepts/transaction.dart';

import '../server/session.dart';
import 'database_connection.dart';
import 'adapters/postgres/database_connection.dart';
import 'concepts/expressions.dart';
import 'concepts/table.dart';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'package:postgres_pool/postgres_pool.dart';
import 'package:serverpod_serialization/serverpod_serialization.dart';
import 'package:serverpod_shared/serverpod_shared.dart';

import 'value_encoder.dart';
import 'adapters/postgres/value_encoder.dart';

/// Configuration for connecting to the Postgresql database.
class DatabasePoolManager {
Expand Down

0 comments on commit f279bde

Please sign in to comment.