Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBConnect ¶
Example ¶
package main
import (
"github.com/pocketbase/pocketbase"
turso "github.com/shynome/pb-turso"
)
func main() {
cfg := pocketbase.Config{
DBConnect: turso.DBConnect,
}
app := pocketbase.NewWithConfig(cfg)
if err := app.Bootstrap(); err != nil {
panic(err)
}
// required!
// required!
// required!
turso.EnableConcurrentWrites(app, cfg)
if err := app.Start(); err != nil {
panic(err)
}
}
Output:
func EnableConcurrentWrites ¶
func EnableConcurrentWrites(app core.App, config pocketbase.Config)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.