{"id":1150,"date":"2013-11-19T12:34:03","date_gmt":"2013-11-19T12:34:03","guid":{"rendered":"https:\/\/ibex.tech\/cloud\/?p=1150"},"modified":"2022-02-17T07:14:03","modified_gmt":"2022-02-17T07:14:03","slug":"strings","status":"publish","type":"post","link":"https:\/\/ibex.tech\/cloud\/mysql\/queries\/select\/strings","title":{"rendered":"Strings"},"content":{"rendered":"<h4>\nNull or Empty Strings<br \/>\n<\/h4>\n<p>\nAn empty field can be either an empty string or a NULL.\n<\/p>\n<h5>\nIs&nbsp;field is not empty AND not null&nbsp;(i.e. it has an actual string in it):<br \/>\n<\/h5>\n<pre>\r\n<code>\r\nWHERE field_name &gt; &#39;&#39;\r\n<\/code><\/pre>\n<h5>\nIs&nbsp;field is empty OR null:<br \/>\n<\/h5>\n<pre>\r\n<code>\r\nWHERE IFNULL(field_name, &#39;&#39;) = &#39;&#39;\r\n<\/code><\/pre>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Null or Empty Strings An empty field can be either an empty string or a NULL. Is&nbsp;field is not empty AND not null&nbsp;(i.e. it has an actual string in it): WHERE field_name &gt; &#39;&#39; Is&nbsp;field is empty OR null: WHERE IFNULL(field_name, &#39;&#39;) = &#39;&#39; &nbsp; &nbsp;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64],"tags":[],"class_list":["post-1150","post","type-post","status-publish","format-standard","hentry","category-select"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/1150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/comments?post=1150"}],"version-history":[{"count":4,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/1150\/revisions"}],"predecessor-version":[{"id":1154,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/1150\/revisions\/1154"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/media?parent=1150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/categories?post=1150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/tags?post=1150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}