xPDO.getIndexMeta
Last updated not available | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$185 per month—let's make that $500!
Learn morexPDO::getIndexMeta¶
Returns the index metadata for a class, keyed by index name. Each entry lists the indexed columns and whether the index is primary and/or unique.
Syntax¶
array|null getIndexMeta (string $className)
Example¶
$indexes = $xpdo->getIndexMeta('modResource');
See Also¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$185 per month—let's make that $500!
Learn more










