package
0.4.4
Repository: https://github.com/dipdup-net/go-lib.git
Documentation: pkg.go.dev

# README

Go wrapper for Hasura metadata methods

Golang's library for registration data source in Hasura service

Configuration

hasura:
  url: string             # hasura url, required
  admin_secret: string    # required
  select_limit: int       
  allow_aggregation: bool
  source:
    name: string                  # name of data source, required. For more info, [hasura docs](https://hasura.io/docs/latest/api-reference/metadata-api/source/#metadata-pg-add-source-syntax).
    database_host: string         # host of datasource, if omitted, used host from database config
    use_prepared_statements: bool # if set to true the server prepares statement before executing on the source database (default: false)
    isolation_level: bool         # The transaction isolation level in which the queries made to the source will be run with (options: read-committed | repeatable-read | serializable) (default: read-committed)
  rest: bool              # should REST endpoints be created?

# Functions

Create - creates hasura models.
Generate - creates hasura table structure in JSON from `models`.
New -.
ReadCustomConfigs -.
No description provided by the author
ToSnakeCase -.

# Structs

API -.
APIError -.
Configuration -.
ConnectionInfo -.
DatabaseUrlFromEnv -.
Definition -.
No description provided by the author
No description provided by the author
FKRelationship -.
GenerateArgs -.
ManualRelationship -.
Metadata -.
Permission -.
PGTable -.
Query -.
QueryCollection -.
Relationship -.
RelationshipUsing -.
No description provided by the author
SelectPermission -.
Source -.
Table -.
TableConfiguration -.
TableSchema -.

# Type aliases

Columns -.
DatabaseUrl -.