serverLocal constant

MssqlClock const serverLocal

The server's local clock: SYSDATETIME().

Explicit opt-in. Use only when the server's timezone is fixed and existing data is already in local time; migrating old data from local to UTC is a data migration, not something the ORM can do by changing a flag.

Implementation

static const MssqlClock serverLocal = MssqlClock._(
  'SYSDATETIME()',
  isUtc: false,
);