Cenoy
Cenoy

Reputation: 21

How can I create triggers in VoltDB using the C# client?

How can I create triggers within a stored procedure in VoltDB?

I am using the C# VoltDB client. Is the callback in voltdb.procedures.wrap() the same as creating triggers?

Upvotes: 1

Views: 172

Answers (1)

Andrew
Andrew

Reputation: 311

VoltDB doesn't support traditional triggers, however a stored procedure can contain multiple SQL statements and logic that allow transactions to go through if certain conditions are met. The callback in voltdb.procedures.wrap() is where you can code what happens after a response. It can work as a sort of 'trigger' for all intents and purposes.

Full disclosure: I work at VoltDB.

Upvotes: 1

Related Questions