• 请不要在回答技术问题时复制粘贴 AI 生成的内容
movq
V2EX  ›  程序员

datagrip 里面如何把查询的结果显示为 terminal 一样的纯文本(因为要复制粘贴到别的地方去)

  •  
  •   movq · Dec 2, 2022 · 2635 views
    This topic created in 1450 days ago, the information mentioned may be changed or developed.

    datagrip 显示的结果,复制粘贴只能复制表的内容,不能复制表头。

    如果在 terminal 里面复制,可以复制整个纯文本的表格

    4 replies  •  2022-12-02 11:38:32 +08:00
    airqj
    airqj
    Dec 2, 2022
    1
    不是可以导出为 json/csv 吗
    GiantHard
    GiantHard
    Dec 2, 2022
    2
    用导出功能,可以在导出的时候带上表头
    liu90729
    liu90729
    Dec 2, 2022
    3
    Data Extractors 中选择 pretty
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2011 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 13:21 · PVG 21:21 · LAX 05:21 · JFK 08:21
    ♥ Do have faith in what you're doing.