googleapis/go-sql-spanner

Support custom client side statements

Closed this issue · 0 comments

Add support for the same client side statements as in the JDBC driver, such as:

  • SET READONLY = TRUE|FALSE
  • SET AUTOCOMMIT = TRUE|FALSE
  • SET TRANSACTION READ ONLY|READ WRITE
  • SET AUTOCOMMIT_DML_MODE = 'PARTITIONED_NON_ATOMIC'|'TRANSACTIONAL'
  • ...

See https://github.com/googleapis/java-spanner/blob/master/google-cloud-spanner/src/main/resources/com/google/cloud/spanner/connection/ClientSideStatements.json for a full list.