Melon-dbMelon-db

findCollectionConfig

@melon-db/sync-server — findCollectionConfig

@melon-db/sync-server API Reference


Function: findCollectionConfig()

findCollectionConfig(schema, name): CollectionSyncConfig | undefined

Defined in: packages/melon-sync-server/src/schema-config.ts:23

Finds collection config by collection name.

Parameters

ParameterType
schemareadonly CollectionSyncConfig[]
namestring

Returns

CollectionSyncConfig | undefined