Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (120 points)
@app.route("/submit_search")

def submit_search():

    search_words = request.args['search_words']   

    db_search= db.execute("SELECT title FROM books WHERE  title  LIKE "%search_words%"").fetchall()

    print(db_search)
Please log in to answer this question.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...