Easy way to check if a database entry exists
Posted: Mon Aug 01, 2016 3:10 am
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:
Is there a quick way to do that which already exists? This seems inelegant.