tuoxie007
V2EX  ›  数据库

数据库表,内置的回收站功能,这个功能可以有

  •  
  •   tuoxie007 · Mar 21, 2012 · 2488 views
    This topic created in 5368 days ago, the information mentioned may be changed or developed.
    2 replies  •  1970-01-01 08:00:00 +08:00
    skywinger
    skywinger
    Mar 21, 2012
    1
    临时表??
    tuoxie007
    tuoxie007
    OP
    Mar 21, 2012
    2
    就相当于有时在表里放个字段叫deleted,默认不是真的删除只是deleted=true,可是这样每次查的时候还要加上deleted!=true
    要是内置回收站功能岂不就不用自己搞一个这样的字段了么
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4282 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 08:11 · PVG 16:11 · LAX 00:11 · JFK 03:11
    ♥ Do have faith in what you're doing.