Skip to main content
For more information on the onResults callback, see the Reference documentation.
Here we show how to handle results directly in the browser, using Google Firebase as an example (unlike an RDBMS like Postgres, Firebase allows for direct browser connections). To handle results on a server, either send the onResults data to an API you control or subscribe to a webhook. This example assumes you have installed the Firebase SDK.
The onResults callback returns an array of objects, where each object represents a record. The callback also receives a metadata object containing information about the import process.

Working with Metadata

The metadata object contains useful information about the import:

Handling Unmapped Columns

If you’ve enabled the passThroughUnmappedColumns setting, your data will include unmapped columns that weren’t part of your schema:
For a comprehensive guide on working with unmapped columns, see the Accessing Unmapped Columns guide.