syncSelect<T extends HasResultSet, R> method

SyncSimpleSelectStatement<T, R> syncSelect<T extends HasResultSet, R>(
  1. SyncBaseTable<T, R> table, {
  2. bool distinct = false,
})

The replacement method for Moor's select(). Use this method to ensure compatibility with the synchronization process.

Please read the Client Side Moor Code Adaptation in the netcoresync_moor documentation for more details.

Implementation

SyncSimpleSelectStatement<T, R> syncSelect<T extends HasResultSet, R>(
  SyncBaseTable<T, R> table, {
  bool distinct = false,
}) {
  if (!netCoreSyncInitialized) throw NetCoreSyncNotInitializedException();
  return SyncSimpleSelectStatement(
    dataAccess,
    table as ResultSetImplementation<T, R>,
    distinct: distinct,
  );
}