qwerasdf123

一个 mysql 比较小众轻量的 utools 插件

  •  2
     
  •   qwerasdf123 · Aug 17, 2023 · 2713 views
    This topic created in 1183 days ago, the information mentioned may be changed or developed.

    适用于经常查数据的场景

    在查询数据的时候往往需要将某张表的 id 列作为另一张表的 WHERE IN 条件(当然连表或子查询这两种也可以,这里只指出特定的场景), 比如从 navicat 中复制某一列 id , 这时候需要将这一列转换成逗号分割的行,在没写这个工具之前我也是 sublime 中 全选 -> shift + cmd + L 来完成这个转换的, 这个工具便能很好的完成这个任务

    utools 应用市场搜 mysql 即可找到 全称:mysql 条件列转行

    7 replies  •  2023-08-18 14:19:32 +08:00
    Mistwave
    Mistwave
    Aug 17, 2023 via iPhone
    1
    试试 group_concat 呢?
    qwerasdf123
    qwerasdf123
    OP
    Aug 17, 2023
    2
    @Mistwave 理论上是可以的 但是这个小工具就是为了从 navicat 复制出来方便
    wei2629
    wei2629
    Aug 17, 2023
    3
    正好需要, 之前都是 自己写正则转
    qwerasdf123
    qwerasdf123
    OP
    Aug 17, 2023
    4
    @wei2629 nice
    akaayy
    akaayy
    Aug 17, 2023 via Android❤️1
    5
    @Mistwav
    @Mistwave needed 得得得得得
    chengxiao
    chengxiao
    Aug 17, 2023❤️1
    6
    可以可以 很实用 我也是平时在 vscode 里操作一次 正好最近把全平台的启动器都换成了 utools
    qwerasdf123
    qwerasdf123
    OP
    Aug 18, 2023
    7
    @akaayy @chengxiao
    感谢支持!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1062 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 18:25 · PVG 02:25 · LAX 10:25 · JFK 13:25
    ♥ Do have faith in what you're doing.