flightaware / Pgtcl

Tcl client side interface to PostgreSQL (libpgtcl)
https://flightaware.github.io/Pgtcl/
BSD 3-Clause "New" or "Revised" License
31 stars 10 forks source link

Import with max, select -count #24

Closed resuna closed 6 years ago

resuna commented 6 years ago

Added - -count option for pg_select

pg_select ... -count var { puts "Number of rows in result is $var" }

Added - -max option for import_postgres_result

pg_sqlite ... -max colname varname

Set varname to maximum value from colname.