Configuration

Here is a list of all configurable environment variables for Asyncher:

NameRequiredDefault ValueDescription

pull_url

Your server endpoint that is used to fetch all data.

push_url

Your server endpoint that is used to push all data after sync.

unique_key

"unique"

The name you want to use for the field that uniquely identifies the data.

primary_key

"id"

The name of the field you are using as the primary key. It only serves to be ignored during the various synchronization steps.

is_new_key

"is_new"

The field name you are using to indicate if the data is new. More details here.

updated_key

"updated"

The field name you are using to indicate if the data has been edited. More details here.

deleted_key

"deleted"

The field name you are using to indicate if the data has been deleted. More details here.

sorting_key

If you are using a field that needs to be sorted, use this env var to specify its name. More details here.

created_at_key

If you have a field that keeps track of when data is created, use this env var to specify its name. More details here.

updated_at_key

If you have a field that keeps track of when data is updated, use this env var to specify its name. More details here.

deleted_at_key

If you have a field that keeps track of when data is deleted, use this env var to specify its name. More details here.

Last updated