Standard library / database/sql
sql.LevelLinearizable
Requests linearizable isolation, which also concerns real-time ordering. Support is driver-dependent; this example only prints the level name. Expected stdout: 'Linearizable\n'.
Formal Syntax & Structure
go syntaxgo
const LevelLinearizable IsolationLevel = 7Working Example
Example Snippetgo
package main
import ( "database/sql" "fmt")
func main() { fmt.Println(sql.LevelLinearizable.String()) }