Set default transaction mode to read only with --readonly flag
This commit is contained in:
@@ -24,6 +24,7 @@ type Options struct {
|
||||
SkipOpen bool `short:"s" long:"skip-open" description:"Skip browser open on start"`
|
||||
Sessions bool `long:"sessions" description:"Enable multiple database sessions" default:"false"`
|
||||
Prefix string `long:"prefix" description:"Add a url prefix"`
|
||||
ReadOnly bool `long:"readonly" description:"Run database connection in readonly mode"`
|
||||
}
|
||||
|
||||
var Opts Options
|
||||
|
||||
Reference in New Issue
Block a user