add search bar for sql injection
This commit is contained in:
parent
55fc355abf
commit
68d803229a
2 changed files with 10 additions and 1 deletions
|
@ -97,3 +97,7 @@ func (db *Database) UserIsLoggedIn(username string) bool {
|
|||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (db *Database) Search(term string) {
|
||||
db.ORM.Exec("SELECT * FROM tasks")
|
||||
}
|
||||
|
|
Reference in a new issue