I have a database where I should store created_at
and updated_at
fields for each document.
The created_at
field should be created once on first document insert.
The updated_at
field should be created on first document insert and should be updated via Bulk API on each update, even if none of the document fields are changed.
The question is: how to add those timestamps?