Libraries anvil sql Connection setReadOnly

Connection setReadOnly(boolean readOnly)
Sets the read only status of connection to 'readOnly' (database may perform certain optimizations according to this information).
Parameters readOnly - 
Throws SQLError -  if an error occured