outBoolean method

Future<OracleVariable> outBoolean()

Create a Boolean OUT parameter (user-friendly helper)

Example:

final activeOut = await conn.outBoolean();
await conn.callproc('is_active', keywordParameters: {'active': activeOut});
print('Active: ${await activeOut.getValue()}');
activeOut.dispose();

Implementation

Future<OracleVariable> outBoolean() async {
  return createVar(
    oracleType: DPI_ORACLE_TYPE_BOOLEAN,
    nativeType: DPI_NATIVE_TYPE_BOOLEAN,
    direction: BindDirection.output,
  );
}