xpdo
xpdo copied to clipboard
xPDO Object Relational Bridge for PHP
It would be great if xPDO allowed working with models from an alternate database. Today, if you want to work with `addPackage()` using a model stored in an alternate database,...
### Summary getObjectGraph() and getCollectionGraph() return results not filtered by foreign criteria and deepest related objects are are lost ### Step to reproduce ``` ``` ``` $uid = 1; //some...
It seems to me that it would be encoding objects in json including related objects. Perhaps it's enough to add an optional parameter to this method like the xPDOObject ::...
### What does it do? Allow to use RLIKE, REGEXP operators in conditions ### Why is it needed? For dificult search rules ### Related issue(s)/PR(s)
### Summary getObject() without criteria causes nesting level error for collection methods. ### Step to reproduce 1) clear cache for 'someClass' db objects 2) $modx->getObject('someClass') and $modx->getCollection('someClass') after that. ###...
…drop the existing content, you must update the schema xml changing the field befor call this function
``$xpdoObject->getOne`` is promoted as _Gets an object related to this instance by a foreign key relationship_ However if you supply a Criteria or Query as the second parameter, that default...
If strict mode is turned on in mysql/mariadb you can not do group by without also having that attribute in the selects. There's been many issues reported on this. Although...
Jason, as discussed in Slack. Using numbers as column names in a custom db table seemed to cause a loop which eventually exhausts memory. Looks like XPDO is treating them...
where can i find a documentation of version 3.0 ? thanks.