Get Data From PixieBrix Database

Using the above brick, how can i check if data returned is blank? this is using the missing behavior set as “blank”. Im trying to see the value of but having an error displaying the value from the brick. I need to check if the returned value is blank so that i can perform other action base on the result of this brick. Thank you

Hi @ryan.m, welcome to the community!

If you want to check if any data was returned in a condition, you can use the | length filter on the variable in conditions/text templates:

If you’re using our jq brick, you can also use it’s | length filter in expressions:

Let me know if either of those works for your use case!


Thanks @todd ! This works well on my use case! :slight_smile:

1 Like