PlDBTableEntry: add support for custom selection.