class PortabilidadInfo(Base): __tablename__ = "portabilidad" msisdn = Column(Integer, primary_key=True) operator_id = Column(Integer, nullable=True) last_port = Column(Date, default=datetime.now(), nullable=True)
portabilidad_msisdn = '56977095634' date_info = session.query(PortabilidadInfo).filter(PortabilidadInfo.last_port, PortabilidadInfo.msisdn == portabilidad_msisdn).first() print("FECHA BDD OBJ: ", date_info, type(date_info))
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)