Retrieve Beans marked as non deleted


I am getting beans programmatically with BeanFactory methods:

// Get the beans
    $myBean = BeanFactory::getBean('bean_name');
    $allBeans = $mayBean->get_full_list(

And need to select just the beans that has marked as non deleted: ‘deleted = 0’ but i cannot get the query to do that.
The web server log tell me that the sign ‘=’ as an error

How can i get the beans marked as non deleted?



Does this answer your question?

There’s a parameter to control that.

1 Like

Thanks, that clarify all.