okbob / pspg

Unix pager (with very rich functionality) designed for work with tables. Designed for PostgreSQL, but MySQL is supported too. Works well with pgcli too. Can be used as CSV or TSV viewer too. It supports searching, selecting rows, columns, or block and export selected area to clipboard.
BSD 2-Clause "Simplified" License
2.45k stars 85 forks source link

Search by column #168

Closed cstork closed 3 years ago

cstork commented 3 years ago

It would be a great feature to be able to search not the table as a whole but only a (or some) certain column(s).

I don't have a clear idea of what the UI should look like. Maybe after 'selecting' a column via column search (command 'c') the search ('/') could be constraint to the column?

Just an idea... BTW, thanks for this great tool! :-)

okbob commented 3 years ago

čt 13. 5. 2021 v 10:56 odesílatel cstork @.***> napsal:

It would be a great feature to be able to search not the table as a whole but only a (or some) certain column(s).

I don't have a clear idea of what the UI should look like. Maybe after 'selecting' a column via column search (command 'c') the search ('/') could be constraint to the column?

Just an idea... BTW, thanks for this great tool! :-)

I thought about it. Now I have a possibility to select some columns or row, so maybe I can implement "selected area searching"

You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/168, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO462GRQFOJ2JAZW4E6LTNOH5TANCNFSM442FWGEQ .

okbob commented 3 years ago

I though about it, and I think so this can be joined with implementation of internal command line. This can be good UI for not too frequently used commands ffd131a7ad9e26652cd4b68469434827e2790d1a

okbob commented 3 years ago

This feature is supported in pspg 5.0.0