Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 941 Bytes

File metadata and controls

44 lines (31 loc) · 941 Bytes

DatabaseConnectionConfig

Properties

Name Type
host string
port number
database string
schema string
user string
password string

Example

import type { DatabaseConnectionConfig } from '@geoengine/api-client'

// TODO: Update the object below with actual values
const example = {
  "host": null,
  "port": null,
  "database": null,
  "schema": null,
  "user": null,
  "password": null,
} satisfies DatabaseConnectionConfig

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as DatabaseConnectionConfig
console.log(exampleParsed)

[Back to top] [Back to API list] [Back to Model list] [Back to README]