primaryKeyByUniqueColumns abstract method
Find a record based on the existence of all contained fields annotated with
@Sqlite(unique: true). The Brick-defined primary key of the table is not included
in the query. Returns the Brick-defined primary key of the discovered record.
executor accepts a Database or Transaction.
Implementation
Future<int?> primaryKeyByUniqueColumns(_Model instance, DatabaseExecutor executor);