migrations

package
v1.49.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 42 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoArgs = []interface{}{}
View Source
var OrderFields = bigquery.Fields{
	"Id_":                 "STRING",
	"UserId":              "STRING",
	"Status":              "STRING",
	"PaymentStatus":       "STRING",
	"FulfillmentStatus":   "STRING",
	"Subtotal":            "INTEGER",
	"Tax":                 "INTEGER",
	"Shipping":            "INTEGER",
	"Discount":            "INTEGER",
	"Total":               "INTEGER",
	"Paid":                "INTEGER",
	"Refunded":            "INTEGER",
	"CouponCodes_0":       "STRING",
	"CouponCodes_1":       "STRING",
	"CouponCodes_3":       "STRING",
	"Items_0_ProductId":   "STRING",
	"Items_0_ProductSlug": "STRING",
	"Items_1_ProductId":   "STRING",
	"Items_1_ProductSlug": "STRING",
	"Items_2_ProductId":   "STRING",
	"Items_2_ProductSlug": "STRING",
	"Items_3_ProductId":   "STRING",
	"Items_3_ProductSlug": "STRING",
	"Items_4_ProductId":   "STRING",
	"Items_4_ProductSlug": "STRING",
	"Metadata_":           "STRING",
	"CreatedAt":           "TIMESTAMP",
	"UpdatedAt":           "TIMESTAMP",
}
View Source
var UserFields = bigquery.Fields{
	"Id_":       "STRING",
	"FirstName": "STRING",
	"LastName":  "STRING",
	"Email":     "STRING",
	"Metadata_": "STRING",
	"CreatedAt": "TIMESTAMP",
	"UpdatedAt": "TIMESTAMP",
}

Functions

func GetProduct

func GetProduct(db *ds.Datastore, id string) string

func MustNukeCounter

func MustNukeCounter(db *ds.Datastore, tag string)

func MustNukeCounter2

func MustNukeCounter2(db *ds.Datastore, tag string)

func MustNukeCounter3

func MustNukeCounter3(db *ds.Datastore, tag string)

func MustNukeCounter4

func MustNukeCounter4(db *ds.Datastore, tag string)

func New

func New(name string, setupFn SetupFn, fns ...interface{}) *delay.Function

func NewBigQuery

func NewBigQuery(name string, setupFn SetupFn, fns ...interface{}) *delay.Function

func NoSetup

func NoSetup(c *zip.Ctx) []interface{}

Types

type Row

type SetupFn

type SetupFn func(*zip.Ctx) []interface{}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL