Retrieve Beans marked as non deleted

Hi.

I am getting beans programmatically with BeanFactory methods:


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

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?

Thanks

Hi!

Does this answer your question?

https://community.sugarcrm.com/thread/29535-what-is-the-functionality-of-getfulllist-and-its-parameters-does

There’s a parameter to control that.

1 Like

Thanks, that clarify all.