You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if the rows subcommand had a flag, perhaps called --transpose which would print in long form instead of wide. Similar to extended display mode in psql (\x)
$ for col in (sqlite-columns track_metadata.db songs)
sqlite-utils --fmt github track_metadata.db "select $col from songs order by rowid desc limit 5"
end
track_id
TRYYYVU12903CD01E3
TRYYYDJ128F9310A21
TRYYYMG128F4260ECA
TRYYYJO128F426DA37
TRYYYUS12903CD2DF0
title
-------------------------------------
Fernweh feat. Sektion Kuchikäschtli
Faraday
Novemba
Jago Chhadeo
O Samba Da Vida
song_id
--------------------
SOWXJXQ12AB0189F43
SOLXGOR12A81C21EB7
SOHODZI12A8C137BB3
SOXQYIQ12A8C137FBB
SOTXAME12AB018F136
release
---------------------------------
So Oder So
The Trance Collection Vol. 2
Dub_Connected: electronic music
Naale Baba Lassi Pee Gya
Pacha V.I.P.
artist_id
--------------------
AR7PLM21187B990D08
ARCMCOK1187B9B1073
ARZ3R6M1187B9AF750
ART5FZD1187B9A7FCF
AR7Z4J81187FB3FC59
artist_mbid
--------------------------------------
3af2b07e-c91c-4160-9bda-f0b9e3144ed3
4ac5f3de-c5ad-475e-ad50-41f1ef9dba20
8b97e9c8-61f5-4615-9a96-276f24204e34
2357c400-9109-42b6-b3fe-9e2d9f8e3872
9d50cb20-7e42-45cc-b0dd-154c3e92a577
artist_name
----------------
Texta
Elude
Gabriel Le Mar
Kuldeep Manak
Kiko Navarro
duration
------------
295.079
484.519
553.038
244.166
217.443
artist_familiarity
----------------------
0.552977
0.403668
0.556918
0.4015
0.528617
artist_hotttnesss
---------------------
0.454869
0.256935
0.336914
0.374866
0.411595
year
--------
2004
0
0
0
0
track_7digitalid
--------------------
8486723
5472456
2219291
1632096
7522478
shs_perf
------------
-1
-1
-1
-1
-1
shs_work
------------
0
0
0
0
0
The text was updated successfully, but these errors were encountered:
It would be nice if the rows subcommand had a flag, perhaps called
--transpose
which would print in long form instead of wide. Similar to extended display mode in psql (\x
)In other words instead of this:
The output would look something like this:
The text was updated successfully, but these errors were encountered: