discovery

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListBlockchainInformation

func ListBlockchainInformation(chainId string) (blockchainInformation string, errMsg string, status bool)

List Blockchain Information

func ListBlockchainSchemas

func ListBlockchainSchemas(chainId string) (blockchainSchema string, errMsg string, status bool)

List Blockchains

func ListBlockchains

func ListBlockchains() (blockchains string, errMsg string, status bool)

List Blockchains

func ListColumns

func ListColumns(schema, table string) (columns string, errMsg string, status bool)

List columns in a given schema and a table

func ListForeignKeyReferences

func ListForeignKeyReferences(schema, table, column string) (foreignKeyReferences string, errMsg string, status bool)

List foreign key references in a given schema and a table and a column

func ListPrimaryKeyReferences

func ListPrimaryKeyReferences(schema, table, column string) (primaryKeyReferences string, errMsg string, status bool)

List primary key references in a given schema and a table and a column

func ListSchemas

func ListSchemas(scope, searchPattern string) (schemas string, errMsg string, status bool)

List available namespaces in the blockchain

func ListTableIndex

func ListTableIndex(schema, table string) (indexes string, errMsg string, status bool)

List table index in a given schema and a table

func ListTablePrimaryKey

func ListTablePrimaryKey(schema, table string) (primaryKeys string, errMsg string, status bool)

List table primary keys in a given schema and a table

func ListTableRelations

func ListTableRelations(schema, scope string) (relations string, errMsg string, status bool)

List table relationships in a given schema and a table Scope can be PRIVATE, PUBLIC, ALL

func ListTables

func ListTables(schema, scope, searchPattern string) (tables string, errMsg string, status bool)
List tables in a given schema

Possible scope values - ALL = all resources, PUBLIC = non-permissioned tables, PRIVATE = tables created by the requesting user

func ListViews

func ListViews(name, owned string) (views string, errMsg string, status bool)

List views owned values can be a "", 'true', 'false'. All string not boolean Both parameters are optional

Types

This section is empty.

Jump to

Keyboard shortcuts

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