Remove deprecated executor classes
This commit is contained in:
parent
2958ecad3d
commit
5c5feaf801
2 changed files with 1 additions and 16 deletions
|
@ -1,5 +1,6 @@
|
||||||
# 1.1.0-beta.1
|
# 1.1.0-beta.1
|
||||||
* Improvements in how transactions are handled; rethrow failed exceptions after rolling back.
|
* Improvements in how transactions are handled; rethrow failed exceptions after rolling back.
|
||||||
|
* Remove deprecated executor classes.
|
||||||
|
|
||||||
# 1.1.0-beta
|
# 1.1.0-beta
|
||||||
* Updates for `package:angel_orm@2.1.0-beta`.
|
* Updates for `package:angel_orm@2.1.0-beta`.
|
||||||
|
|
|
@ -4,13 +4,6 @@ import 'package:logging/logging.dart';
|
||||||
import 'package:pool/pool.dart';
|
import 'package:pool/pool.dart';
|
||||||
import 'package:postgres/postgres.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.
|
/// A [QueryExecutor] that queries a PostgreSQL database.
|
||||||
class PostgreSqlExecutor extends QueryExecutor {
|
class PostgreSqlExecutor extends QueryExecutor {
|
||||||
PostgreSQLExecutionContext _connection;
|
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.
|
/// A [QueryExecutor] that manages a pool of PostgreSQL connections.
|
||||||
class PostgreSqlExecutorPool extends QueryExecutor {
|
class PostgreSqlExecutorPool extends QueryExecutor {
|
||||||
/// The maximum amount of concurrent connections.
|
/// The maximum amount of concurrent connections.
|
||||||
|
|
Loading…
Reference in a new issue