Discover Packages
github.com/yawatamikiya/test3/v4
database
multistmt
package
Version:
v4.0.0-...-cd40650
Opens a new window with list of versions in this module.
Published: Dec 6, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package multistmt provides methods for parsing multi-statement database migrations
StartBufSize is the default starting size of the buffer used to scan and parse multi-statement migrations
Parse parses the given multi-statement migration
type Handler func(migration []byte ) bool
Handler handles a single migration parsed from a multi-statement migration.
It's given the single migration to handle and returns whether or not further statements
from the multi-statement migration should be parsed and handled.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.