Standard library / database/sql
sql.LevelSerializable
Requests isolation equivalent to some serial transaction order. Support is driver-dependent; this example only prints the level name. Expected stdout: 'Serializable\n'.
Formal Syntax & Structure
go syntaxgo
const LevelSerializable IsolationLevel = 6Working Example
Example Snippetgo
package main
import ( "database/sql" "fmt")
func main() { fmt.Println(sql.LevelSerializable.String()) }