locking

fun locking(clause: String?): SelectQuery

Sets the locking clause, FOR included, since several may follow one another: "FOR UPDATE", "FOR UPDATE OF l FOR SHARE OF p NOWAIT". null or blank leaves it out. Outside a transaction the lock ends with the statement.