wrongmove/crawler/testing.py
2024-03-25 20:48:48 +00:00

9 lines
251 B
Python

from rec.db import RightmoveListing, session
from sqlalchemy import select
if __name__ == "__main__":
print("x")
x = select(RightmoveListing).where(RightmoveListing.price < 600000)
print("y")
d = list(session.execute(x))
print(d)