Standard library / database/sql

sql.LevelDefault

Lets the driver choose its default isolation. Support is driver-dependent; this example only prints the level name. Expected stdout: 'Default\n'.

Formal Syntax & Structure

go syntaxgo
const LevelDefault IsolationLevel = 0

Working Example

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