tarantool/migrate

Document flags argument in DML callbacks

開放

#11 建立於 2020年7月23日

 (0 則留言) (0 個反應) (0 位負責人)Lua (0 個分叉)auto 404
backlogdocumentationgood first issueprio4

倉庫指標

星標
 (1 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

From README:

spaces is a table that associates old space number and table with definitions:

  • insert - custom insert function function(tuple, flags). If not defined, a function that inserts a tuple into a space with new_id.
  • delete - custom delete function function(key, flags). If not defined, a function that deletes a tuple with a key from a space with new_id.
  • update - custom update function function(key, ops, flags. If not defined, a function that executes update with operations ops in a space with new_id on a tuple with PK key.

Meaning of flags is not described anywhere.

貢獻者指南