can we insert varbinary data as a normal string or is there an extra step? the field id column is varbinary.
Code:
$threadFieldValues = \XF::app()->em()->create('XF:ForumField');
$threadFieldValues->node_id = 2;
$threadFieldValues->field_id = "fieldidtests";
// var_dump($threadFieldValues);
$threadFieldValues->save();