Giter VIP home page Giter VIP logo

Comments (4)

nineinchnick avatar nineinchnick commented on May 18, 2024 1

I gave it a shot at xo/tblfmt#8 - if this is merged and go.mod is bumped no other changes are required. I tested this with:

% echo "replace github.com/xo/tblfmt => github.com/nineinchnick/tblfmt v0.0.0-20201223194615-db8a914c3ebe" >> go.mod
% go mod tidy
% go run . sqlite://:memory:
Connected with driver sqlite3 (SQLite3 3.31.1)
Type "help" for help.

sq::memory:=> select 1;
 1 
---
 1 
(1 row)

sq::memory:=> \x
Expanded display is on.
sq::memory:=> \pset border 2
Border style is 2.
sq::memory:=> select 2 as aaaaa, 5 as b;
+-[ RECORD 1 ]-+
| aaaaa | 2    |
| b     | 5    |
+-------+------+

from usql.

kenshaw avatar kenshaw commented on May 18, 2024

While I eventually intend to build out support for all the psql standard commands, this isn't high on my priority list. I'd welcome a PR for this, however. It would be fairly easy to implement.

from usql.

KeeonTabrizi avatar KeeonTabrizi commented on May 18, 2024

fwiw, one of the first questions i thought of when seeing this project was if it supports expanded display

from usql.

nineinchnick avatar nineinchnick commented on May 18, 2024

This is now in master and this issue can be closed.

from usql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.