Remove deprecated executor classes

This commit is contained in:
Tobe O 2019-10-20 11:24:23 -04:00
parent 2958ecad3d
commit 5c5feaf801
2 changed files with 1 additions and 16 deletions

View file

@ -1,5 +1,6 @@
# 1.1.0-beta.1
* Improvements in how transactions are handled; rethrow failed exceptions after rolling back.
* Remove deprecated executor classes.
# 1.1.0-beta
* Updates for `package:angel_orm@2.1.0-beta`.

View file

@ -4,13 +4,6 @@ import 'package:logging/logging.dart';
import 'package:pool/pool.dart';
import 'package:postgres/postgres.dart';
/// Use the renamed [PostgreSqlExecutor] instead.
@deprecated
class PostgreSQLExecutor extends PostgreSqlExecutor {
PostgreSQLExecutor(PostgreSQLExecutionContext connection, {Logger logger})
: super(connection, logger: logger);
}
/// A [QueryExecutor] that queries a PostgreSQL database.
class PostgreSqlExecutor extends QueryExecutor {
PostgreSQLExecutionContext _connection;
@ -80,15 +73,6 @@ class PostgreSqlExecutor extends QueryExecutor {
}
}
/// Use the renamed [PostgreSqlExecutorPool] instead.
@deprecated
class PostgreSQLExecutorPool extends PostgreSqlExecutorPool {
PostgreSQLExecutorPool(
int size, PostgreSQLConnection Function() connectionFactory,
{Logger logger})
: super(size, connectionFactory, logger: logger);
}
/// A [QueryExecutor] that manages a pool of PostgreSQL connections.
class PostgreSqlExecutorPool extends QueryExecutor {
/// The maximum amount of concurrent connections.