query/demo: Choose between CSV and pretty-printed output.

By default, print query results in ascii tables.  This requires
buffering the entire result set to determine column widths. If
you don't want to buffer the entire result, you can use CSV output.

Also:, replace db.go's init() with InitDB().  We can't call
vanadium initialization code as part of init() or else it will
parse flags before our main's flags are defined.

Change-Id: I217751e1ca98388d0d03e841c537038279ddd3a8
5 files changed
tree: 843302277b94ebbcee34ba7daff84cf1632b7489
  1. v23/
  2. x/
  3. .gitignore
  4. AUTHORS
  5. CONTRIBUTORS
  6. LICENSE
  7. PATENTS
  8. VERSION