Release v0.026

Tags:

This release adds some SQL helper options to the ysql command:

  • --select <table> creates a simple SELECT * FROM <table> query
  • Add --where <clause> and --order-by <clause> to modify your select query
  • --insert <table> creates a simple INSERT INTO <table> query with the documents on STDIN

Additionally, a new flag (-e or --edit) lets you edit saved SQL queries in your text editor. This is useful if you've got a long query with a bunch of joins and don't want to mess about on the command line.

Full changelog below...