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
path=strings.ReplaceAll(q[:lastslash],"\\","_")// change backslash to _, backslash doesn't seem to work with SQL Like, replace with _ (single character)
621
+
filename=q[lastslash+1:]
622
+
}
623
+
624
+
varfileScenes []models.File
625
+
ifpath!="" {
626
+
db.Where("path like ? and filename like ? and scene_id > 0","%"+path+"%","%"+filename+"%").Find(&fileScenes)
627
+
}else {
628
+
db.Where("filename like ? and scene_id > 0","%"+filename+"%").Find(&fileScenes)