Standard library / database/sql
sql.LevelReadUncommitted
Requests isolation that may allow dirty reads. Support is driver-dependent; this example only prints the level name. Expected stdout: 'Read Uncommitted\n'.
Formal Syntax & Structure
go syntaxgo
const LevelReadUncommitted IsolationLevel = 1Working Example
Example Snippetgo
package main
import ( "database/sql" "fmt")
func main() { fmt.Println(sql.LevelReadUncommitted.String()) }