getById method
The row with this key, or throws MssqlRowNotFoundException.
Implementation
Future<TRow> getById(
TKey key, {
List<MssqlRelation<TRow, Object?>> include = const [],
}) async {
final row = await findById(key, include: include);
if (row == null) {
throw MssqlRowNotFoundException(binding.qualifiedName, key);
}
return row;
}