var targetFieldList=fk.fields.map(function(pair){ return db.quoteIdent(pair.target); }).join(', ');