Standard library / database/sql

sql.LevelWriteCommitted

Requests a write-committed level; interpretation depends on the database. Support is driver-dependent; this example only prints the level name. Expected stdout: 'Write Committed\n'.

Formal Syntax & Structure

go syntaxgo
const LevelWriteCommitted IsolationLevel = 3

Working Example

Example Snippetgo
package main
import (  "database/sql"  "fmt")
func main() { fmt.Println(sql.LevelWriteCommitted.String()) }
Go Reference