Skip to content

Conversation

@mickeyhaile2
Copy link

No description provided.

SELECT *

FROM products
WHERE product_name ILIKE '%socks%';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be a case insensitive statement; e.g. socks and Socks and SoCKs would all meet this. The question is a little ambiguous as to whether this should be the case, but just something to be aware of.

Copy link

@JDysiewicz JDysiewicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - small improvement would be to add the appropriate status codes to the API routes (e.g. 200, 404, etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants