I am attempting to add a variable key, with no luck.

Here's what I got so far:

mysql('translations',{
    check: 'element_id',
    element_id: element_id,
    {'lang-'+lang_id}: value
});

The variable key is the last line of the function.

Any ideas?

Edit
Report