how to write the 'wheres ' in 'elgg_get_entities'

I have a  entity called 'ElggRegion' , and save a metadata use this code:

     $elggregion->depth = 1;

And my question is :

How do i write the where cause to select this region by depth in elgg1.8; just like  this as normal:

     'depth=1'