find pods item where relationship to other pod is not set

I need to fix the effect of an error that left empty a relationship field that should have been autofilled.

To fix this I need to find all pods item that has the relationship not set, but I don’t know how to do it.

Read More

I tried with 'where' => 'source.id = ""' in a find() but with no luck.

Any idea?

Related posts

1 comment

  1. What you want is:

    source.id IS NULL

    This will match items that have no source set at all.

Comments are closed.