Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 929 Bytes

File metadata and controls

43 lines (30 loc) · 929 Bytes

ColumnTypeSpec

Detailed column type specification with optional properties.

Properties

Name Type
geometryType string
precision number
scale number
srid number
type string

Example

import type { ColumnTypeSpec } from '@hotdata/sdk'

// TODO: Update the object below with actual values
const example = {
  "geometryType": null,
  "precision": null,
  "scale": null,
  "srid": null,
  "type": null,
} satisfies ColumnTypeSpec

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 ColumnTypeSpec
console.log(exampleParsed)

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