Is there any way to recover the contract stored in postgre database if it is deleted by mistake.
Does the following sentence mean that deleting the database has no effect?
In general, you should never interact directly with the PostgreSQL database of either the JSON API (the docs you’re pointing to) or the underlying ledger.
If you archive a contract (I assume you mean that by “delete”), you could query the transaction stream to see how it was created and recreate it. Note that this will change the contract id though.
thank you I confused the query store with the persistent store