exists method

Future<bool> exists(
  1. String fromClause,
  2. String oid
)

Tests if the given oid exists.

  • fromClause - any valid from clause, such as a table name, an inner join, and so on. Note: it shall not include from. Example: Foo, "Foo" inner join "Moo" on ref=oid, and "Foo" F.

Implementation

Future<bool> exists(String fromClause, String oid) async
=> null != await queryAnyBy(const [], fromClause, {fdOid: oid});