Fixing Filtered Decks whose Reference Deck has moved

When a deck is renamed, the filtered decks that rely on it are “broken” until you fix the deck:"(…)" portion of the search definition.

Doing so manually is easy for one filtered deck, but in a development situation, where I might have 50+ filtered decks, the process is unmanageable.

Is there a settings file somewhere where I could do a search-and-replace, whether it be a text file or a database? In the Anki settings folder the sqllite database only seems to be about media, and I didn’t see any plain text file with these kinds of deck definitions.

https://addon-docs.ankiweb.net/#/

You’re right, it’s time I started looking at Anki internals. Thanks for the nudge, Damian.