xpdo
xpdo copied to clipboard
xPDO Object Relational Bridge for PHP
Lets user set cacheManager copy options, e.g. 'copy_exclude_patterns' to exclude specific subdirectories from the transport package Usage: add **xPDOTransport::FILE_RESOLVE_OPTIONS => array()** to the **$builder->createVehicle** (vehicle global) or **$vehicle->resolve** (single object)...
### Summary First of all, i'm not sure if this is a bug (for my specific case) or rather the expected behavior. After moving all relationships from one object to...
With the rest service recently added to MODX, it may prove advantageous to provide functions to allow xpdo to directly interact with XML requests and responses.
Would be nice if we could use SQL comments on tables, columns & indexes, ie. (from [MySQL documentation](http://dev.mysql.com/doc/refman/5.5/en/alter-table.html)) : `ALTER TABLE t1 MODIFY col1 BIGINT UNSIGNED DEFAULT 1 COMMENT 'my...
Is there a better method to check if a table exists? (maybe SHOW CREATE TABLE? or even a SELECT \* LIMIT 1) https://github.com/modxcms/xpdo/blob/master/xpdo/om/mysql/xpdomanager.class.php#L131 This ends up counting the whole table...
I don't know if this is by design, but we've stumbled upon a weird issue, one I did not expect from xPDO. On line 1149, function xPDOObject::&getMany(), there is an...
The issue is described here: modxcms/revolution#12240
Just adding a reference to modxcms/revolution#9487
When getting a new service, the service name is also used to define a property on `xPDO` (see https://github.com/modxcms/xpdo/blob/master/xpdo/xpdo.class.php#L1222). There should be some upfront check to make sure the property...
$c = $modx->newQuery('modResource'); $c->where(array('class_key' => 'modDocument')); $modx->updateCollection('modResource', array('class_key' => 'extResource'), $c); This code should update only resources with class_key set to 'modDocument'. It updates every resource for me - a...