Discover Packages
github.com/jhzn/migrate/v4
database
multistmt
package
Version:
v4.16.3
Opens a new window with list of versions in this module.
Published: Jun 28, 2023
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.