Skip to content

Instantly share code, notes, and snippets.

@amitpatelx
Created October 26, 2018 11:22
Show Gist options
  • Save amitpatelx/b09eff031e682894bcbb4515ae7bd5e1 to your computer and use it in GitHub Desktop.
Save amitpatelx/b09eff031e682894bcbb4515ae7bd5e1 to your computer and use it in GitHub Desktop.
check if an attribute doesn't have null
SELECT * FROM "quarantine_codes" where (product_info->'inventory_group_attributes'->'rxcui')::text IS NOT NULL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment