Is there a quick way to do that which already exists? This seems inelegant.
Easy way to check if a database entry exists
-
- Posts: 27
- Joined: Fri Jun 26, 2015 8:52 am
Easy way to check if a database entry exists
I want to check if a row exists with a particular field value and get a boolean value of whether or not it's there. Here's what I'm doing right now: