pgCheckGeom: Check if geometry or geography column exists in a table, and...

View source: R/dbUtils_notExported.R

pgCheckGeomR Documentation

Check if geometry or geography column exists in a table, and return the column name for use in a query.

Description

Check if geometry or geography column exists in a table, and return the column name for use in a query.

Usage

pgCheckGeom(conn, name, geom)

Arguments

conn

A PostgreSQL connection

name

A table name formatted for use in a query

geom

a geometry or geography column name


mablab/rpostgis documentation built on Jan. 15, 2024, 10:14 p.m.