举例

from sqlalchemy import or_,and_
#
from operator import or_, and_


allapp = AppServer.query.filter(and_(
    AppServer.software!='zookeeper',
    AppServer.software!='keepalived',
    AppServer.software!='openresty',
)).with_entities(AppServer.software).distinct().all()

 

相关文章:

  • 2021-11-05
  • 2018-12-28
  • 2022-12-23
  • 2021-06-20
  • 2022-12-23
  • 2022-12-23
  • 2021-05-06
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-31
  • 2022-12-23
  • 2021-10-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案