Skip to content

Quering a movie  #32

@ghassanmas

Description

@ghassanmas

const query = 'SELECT * FROM movies where title = $1';

So according to that query ⏫ , it will only Match if the name of the movie was written exactly and it's case sensetive, if you use ilike which case insensetive with %query% it will look for the user query and match it even if it's not the complete title.

select * from movies where title ilike %$1%

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions