syncSelectOnly<T extends HasResultSet, R> method

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

The replacement method for Moor's selectOnly(). 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

SyncJoinedSelectStatement<T, R> syncSelectOnly<T extends HasResultSet, R>(
  SyncBaseTable<T, R> table, {
  bool distinct = false,
}) {
  if (!netCoreSyncInitialized) throw NetCoreSyncNotInitializedException();
  return SyncJoinedSelectStatement<T, R>(
    dataAccess,
    table as ResultSetImplementation<T, R>,
    [],
    distinct,
    false,
  );
}