{"repo":"googleapis/go-sql-spanner","free":true,"listed":false,"github":"https://github.com/googleapis/go-sql-spanner","clone":"git clone https://github.com/googleapis/go-sql-spanner.git","description":"Google Cloud Spanner driver for Go's database/sql package.","language":"Go","stars":124,"topics":["database","golang","spanner"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"go-sql-spanner Google Cloud Spanner driver for Go's database/sql package. This driver can be used with both Spanner GoogleSQL and Spanner PostgreSQL databases. Statements Statements support follows the official Google Cloud Spanner Go client style arguments as well as positional parameters. It is highly recommended to use either positional parameters in combination with positional arguments, or named parameters in combination with named arguments. Using positional parameters with positional arguments Using named parameters with named arguments Using PostgreSQL-style positional arguments When connected to a PostgreSQL-dialect Spanner database, you can also use PostgreSQL-style query parameters $1, $2, ..., $n . These query parameters are handled as positional parameters. Using named parameters with positional arguments (not recommended) Named parameters can also be used in combination with positional arguments, but this is not recommended , as the behavior can be hard to predict if the same named query parameter is used in multiple places in the statement. Query Options Query options can be passed in as arguments to a query. Pass in a value of type spannerdriver.ExecOptions to supply additional execution options for a statement. The spanner.QueryOptions will be passed through to the Spanner client as the query options to use for the query or DML statement. Statement tags (request tags) can also be set using the custom SQL statement set statement tag='my tag' : Transactions - R","default_branch":null,"files":null,"tree":[],"storefront":"/r/googleapis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/googleapis/go-sql-spanner/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}