Query the SDQ agent for a compound name from a synonym.
The synonym to query the SDQ agent for.
The compound name from the SDQ agent.
const cmpd = await executeSDQSearch({ where: { cmpdsynonym: "2-Acetoxybenzenecarboxylic acid" }, select: ["cid", "cmpdname"], limit: 1,});console.log(cmpd);// Outputs: Aspirin Copy
const cmpd = await executeSDQSearch({ where: { cmpdsynonym: "2-Acetoxybenzenecarboxylic acid" }, select: ["cid", "cmpdname"], limit: 1,});console.log(cmpd);// Outputs: Aspirin
Query the SDQ agent for a compound name from a synonym.