// server.js (only my query route)
app.get("/rocket/search/:query", async (req, res) => {
    try {
        const { query } = req.params;
        const rocket = await pool.query("SELECT * FROM rocket WHERE name ILIKE $1", // Query
        [ query ]
        );
        res.json(rocket.rows);
    } catch (err) {
        console.log(err.message);
        console.log("test")
    }
})
When making a request using the above query It yields results that ignore differences in capitalization so that works okay. But when making a query to the name field such as "starshi" when the actual name is "Starship" I get no results.
What's going wrong?
Thanks
