withHint method

MssqlQuery withHint(
  1. String hint
)

An arbitrary table hint, for the ones this does not name.

The text is inserted verbatim, so it is the caller's SQL. NOLOCK is the usual reason to reach for this, and it is worth knowing what it costs: it can return rows twice, miss rows entirely, and read data that is rolled back a moment later.

Implementation

MssqlQuery withHint(String hint) => _withSourceHint(hint);