db

command
v0.17.7 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: Apache-2.0 Imports: 10 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.

README

Data Preparation for Testing

Starting the postgres container

make db-start

Populate the database using one of the two available methods: Generate a mock database:

./schema.sql is a database schema taken from graphql processor on dev net, it creates all the needed tables for the database.

the data-crafter have a various of methods to create/update/delete the main tables on the database. it can be customized by the params passed to the NewCrafter.

make db-fill

Or use a data dump file (contains both schema and data)

make db-dump p=<path-to-dump.sql-file>

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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