## Not run:
# pgGetPolys(conn, c("schema", "tablename"))
# pgGetPolys(conn, c("schema", "states"), geom = "statesgeom",
# gid = "state_ID", other.cols = "area,population",
# clauses = "WHERE area > 1000000 ORDER BY population LIMIT 10")
# ## End(Not run)
Run the code above in your browser using DataLab