postgresListDataFlow
This function retrieves the initial data from the table and then listens for changes. It automatically handles inserts, updates and deletes.
If you want more control, use the postgresChangeFlow function.
Return
a Flow of the current data in a list. This list is updated and emitted whenever a change occurs.
Parameters
the schema of the table
the table name
an optional filter to filter the data
the primary key of the Data type
This function retrieves the initial data from the table and then listens for changes. It automatically handles inserts, updates and deletes.
If you want more control, use the postgresChangeFlow function.
Return
a Flow of the current data in a list. This list is updated and emitted whenever a change occurs.
Parameters
the schema of the table
the table name
an optional filter to filter the data
the list of primary key of the Data type
This function retrieves the initial data from the table and then listens for changes. It automatically handles inserts, updates and deletes.
If you want more control, use the postgresChangeFlow function.
Return
a Flow of the current data in a list. This list is updated and emitted whenever a change occurs.
Parameters
the schema of the table
the table name
an optional filter to filter the data
the list of primary keys of the Data type