coolair
V2EX  ›  问与答

SQLAlchemy union 后列名就改变了,有办法保持原来的列名么?

  •  
  •   coolair · Jan 12, 2017 · 1233 views
    This topic created in 3520 days ago, the information mentioned may be changed or developed.
    x.union(y)

    以后原来的column就会as成其他名字了。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1055 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 18:35 · PVG 02:35 · LAX 11:35 · JFK 14:35
    ♥ Do have faith in what you're doing.