ExAliyunOts.delete_row
You're seeing just the function
delete_row
, go back to ExAliyunOts module for more information.
Specs
delete_row(instance(), table_name(), primary_keys(), options()) :: result()
Official document in Chinese | English
Example
import MyApp.TableStore
delete_row "table1",
[{"key1", 3}, {"key2", "3"}],
condition: condition(:expect_exist, "attr2" == "value2")
delete_row "table1",
[{"key1", 3}, {"key2", "3"}],
condition: condition(:expect_exist, "attr2" == "value2"),
transaction_id: "transaction_id"
Options
:condition
, required, please seecondition/1
orcondition/2
for details.:transaction_id
, optional, write operation within local transaction.