Skip to main content
Module

x/pgsql_ast_parser/index.ts>parseGeometricLiteral

Yet another simple Postgres SQL parser
Go to Latest
function parseGeometricLiteral
import { parseGeometricLiteral } from "https://deno.land/x/pgsql_ast_parser@11.0.1/index.ts";

Parameters

sql: string
type: "point"

Returns

Point

Parameters

sql: string
type: "line"

Parameters

sql: string
type: "lseg"

Returns

Segment

Parameters

sql: string
type: "box"

Parameters

sql: string
type: "path"

Parameters

sql: string
type: "polygon"

Returns

Polygon

Parameters

sql: string
type: "circle"

Returns

Circle