Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
193 views
in Technique[技术] by (71.8m points)

python - Modify query to exclude soft deleted records

Python code part that contains query:

conn = pymysql.connect(host='127.0.0.1', user=sql_username,

        passwd=sql_password, db=sql_main_database,

        port=tunnel.local_bind_port)

query = '''select * from users;'''

df_user = pd.read_sql_query(query, conn)

I need to to modify query to exclude the soft deleted records. How modified query should look like?

question from:https://stackoverflow.com/questions/65838209/modify-query-to-exclude-soft-deleted-records

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...