Skip to content

Instance Property

sharedSelectLockExpression

A serialization for SQLLockingClause.share.
var sharedSelectLockExpression: (any SQLExpression)? { get }

Discussion

Represents a request for a shared “reader” lock on rows retrieved by a SELECT query. A nil value signals that the dialect doesn’t support shared locking requests, in which cas the locking clause is silently ignored.

Defaults to nil.

Default Implementations

SQLDialect Implementations

See Also

Syntax Indicators