db

package
v0.0.0-...-381b1be Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package db :: db.go - MySql database functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenMySQLDB

func OpenMySQLDB(ctx cfg.Context) (*gorm.DB, error)

OpenMySQLDB returns gorm.DB connection for MySql database

func SchemaInfo

func SchemaInfo(ctx cfg.Context) *client.DbSchema

SchemaInfo returns the latest db schema info

func SchemaInfoAll

func SchemaInfoAll(ctx cfg.Context) []client.DbSchema

SchemaInfoAll returns all db schema info

Types

This section is empty.

Jump to

Keyboard shortcuts

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