{"modulePath":"github.com/flanksource/sqlglot-go","version":"v1.7.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package postgres\n\nPackage postgres registers the \"postgres\" engine dialect, planned with the upstream Atlas PostgreSQL driver.\n\n## Constants\n\n```go\nconst Name = \"postgres\"\n```\nName is the registered dialect name.\n\n## Variables\n\n```go\nvar Dialect = atlasdriver.New(backend{})\n```\nDialect is the registered PostgreSQL dialect.\n\n## Functions\n\n```go\nfunc SchemaFromAtlas(s *schema.Schema) (migrate.Schema, error)\n```\nSchemaFromAtlas turns a schema evaluated from declared Atlas PostgreSQL HCL (with its variables resolved and its name remapped) into the schema to plan toward.\n\n```go\nfunc SchemaFromHCL(hcl string) (migrate.Schema, error)\n```\nSchemaFromHCL turns declared Atlas PostgreSQL HCL into the schema to plan toward.\n\n","path":"github.com/flanksource/sqlglot-go/database/migrate/dialect/postgres","name":"postgres","synopsis":"Package postgres registers the \"postgres\" engine dialect, planned with the upstream Atlas PostgreSQL driver.","isRedistributable":true}
