modified 'cities' table in database.
This commit is contained in:
parent
8bb3e62e7f
commit
bdd8ebe258
4
main.py
4
main.py
@ -16,8 +16,8 @@ logging.basicConfig(filename='logfile.log', filemode='w', level=logging.INFO,
|
||||
con = DbConnect("sync/olx_data.db")
|
||||
con.get_connection()
|
||||
|
||||
cities = con.get_data("""select c.city_id, c.name, c.is_dubble
|
||||
from custom c left join
|
||||
cities = con.get_data("""select c.city_id, c.name, c.is_duplicate
|
||||
from cities_custom c left join
|
||||
(select city_id from olx_data where date = date('now')) o
|
||||
on o.city_id=c.city_id where o.city_id is null;""")
|
||||
|
||||
|
BIN
olx_data.db
BIN
olx_data.db
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user