On Friday, October 18, 2019 at 11:05:47 AM UTC-7, Alexander Popov wrote:
>
> Hello.
>
> I want to check an existence of tables.
>
> But I don't see a way to make it through cached list by default.
>
> I see `Database.cache_schema`, which is `true` by default.
>
> And I see `Database.tables` (from PostgreSQL adapter) and 
> `Database.table_exists?`, which are making queries to DB every time.
>
> Should we cache those results with `cache_schema = true`?
>

No, or at least not by default.  If you want to work on an extension that 
caches results for them, that's something that could potentially be shipped 
with Sequel.

Thanks,
Jeremy 

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/f0366f8a-77fb-4af6-be18-febbdc6535db%40googlegroups.com.

Reply via email to