collection

package
v0.0.0-...-8e14c25 Latest Latest
Warning

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

Go to latest
Published: May 22, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package collection contains the collection methods to parse and build the collection schema

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseList

type DatabaseList map[string]SchemaList

DatabaseList is a map from database name to SchemaLists to collect

func BuildCollectionList

func BuildCollectionList(al args.ArgumentList, ci connection.Info) (DatabaseList, error)

BuildCollectionList unmarshals the collection_list from the args and builds the list of objects to be collected. If collection_list is a JSON array, it collects every object in each of the databases listed in the array. If it is a hash, it collects only the objects listed

type SchemaList

type SchemaList map[string]TableList

SchemaList is a map from schema name to TableList to collect

type TableList

type TableList map[string][]string

TableList is a map from table name to an array of indexes to collect

Jump to

Keyboard shortcuts

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