During runtime I build an object which is essentially a wrapper over in-memory table:
col1 | ... | colN |
val11 | ... | valN1 |
val12 | ... | valN2 |
I want to use this object as a part of INSERT or UPDATE queries, based on a value of some column (the main use case one of the columns is an ID value)
What's the best way to expose the object to SQL?