You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
s_user_todos=f"select id, {title}, {detail}, {is_completed}, {created_time}, {updated_time}, {edit_num} from {todo_table} where {user_id}=%s and {is_deleted}=0"
225
235
s_user_todo=f"select id, {title}, {detail}, {is_completed}, {created_time}, {updated_time}, {edit_num} from {todo_table} where {user_id}=%s and {is_deleted}=0 and id=%s"
226
236
s_todo_title=f"select id, {title} from {todo_table} where title=%s and {user_id}=%s and {is_deleted}=0"
227
-
s_all_todo=f"select id, A.{title}, A.{detail}, A.{created_time}, A.{updated_time}, A.{edit_num}, B.{username} from {todo_table} A {user_table} B where A.{user_id}=B.id and {is_deleted}=0 group by B.{username}"
237
+
s_all_todo=f"select A.id, A.{title}, A.{detail}, A.{created_time}, A.{updated_time}, A.{edit_num}, B.{username} from {todo_table} A,{user_table} B where A.{user_id}=B.id and A.{is_deleted}=0 and B.{is_deleted}=0 order by B.id"
0 commit comments