MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / isModeSupportedByField

Function isModeSupportedByField

web/pgadmin/static/js/SchemaView/common.js:15–17  ·  view source on GitHub ↗
(field, helperProps)

Source from the content-addressed store, hash-verified

13}
14
15export const isModeSupportedByField = (field, helperProps) => (
16 !field.mode || field.mode.indexOf(helperProps.mode) > -1
17);
18
19export const isFieldSupportedByPgVersion = (field, helperProps) => {
20 return (

Callers 5

createFieldControlsFunction · 0.90
createGridColumnsFunction · 0.90
parseChangesFunction · 0.90
index.jsFile · 0.90
schemaOptionsEvalulatorFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected