(meta: EntityMetadata | undefined, columnName?: string)
| 723 | } |
| 724 | |
| 725 | findProperty(meta: EntityMetadata | undefined, columnName?: string): EntityProperty | undefined { |
| 726 | if (!meta || !columnName) { |
| 727 | return undefined; |
| 728 | } |
| 729 | |
| 730 | if (meta.properties[columnName]) { |
| 731 | return meta.properties[columnName]; |
| 732 | } |
| 733 | |
| 734 | return meta.props.find(prop => prop.fieldNames?.includes(columnName)); |
| 735 | } |
| 736 | |
| 737 | prepareInputValue(prop: EntityProperty | undefined, value: unknown, enabled: boolean): unknown { |
| 738 | if (!enabled || !prop || value == null) { |
no test coverage detected