So just when Vercel introduced Next.js 14 in Next.js Conf 2023, many have been criticizing it with multiple arguments. We will go through each of t...
For further actions, you may consider blocking this person and/or reporting abuse
The server action will have the same result as passing parameters to a restapi and receiving the query results. It will not affect security.
The code example is written as an inline function, and as mentioned in the text, it is not parameterized.
This makes it look like PHP and vulnerable to SQL injection.