Search...
onExternalDatabaseConnectionCreated( )
Developer Preview
Triggered when an external database connection is created.
Syntax
function wixData_onExternalDatabaseConnectionCreated(event: ExternalDatabaseConnectionCreated): void
onExternalDatabaseConnectionCreated Parameters
NAME
TYPE
DESCRIPTION
event
Optional
ExternalDatabaseConnectionCreated
Returns
This function does not return anything.
Return Type:
void
Was this helpful?
onExternalDatabaseConnectionCreated example
Copy Code
12 export function wixData_onExternalDatabaseConnectionCreated(event) {3 const eventId = event.metadata.id4 const entityId = event.entity._id;5 }67