'Graphql prisma string replace

I have graphql prisma api. Currently there is lyric field in Track table.

"Let it [Am]be, let it [C/G]be, let it [F]be, let it [C]be"

if I search using contain in graphql like example "Let it be", this record is not come out because of the chord. Is there a way to replace the chord in lyric field before searching with contain.

I even tried to use prisma, but I don't find a way to replace string.

Regards, Alex



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source