cockroachdb / cockroachdb/activerecord-cockroachdb-adapter

Support explain options

Aperta
#301 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
rails 7.1
Lingua principale
Ruby
Stelle
105
Fork
56
Merge medio
9h 5m
PR unite (30g)
3

Descrizione

Since rails 7.1, explain can take options. The issue is that both the name of options and the formatting is different between postgres and cockroach.

https://www.cockroachlabs.com/docs/stable/explain-analyze

As of now we do not support `explain analyze` either due to how the code was adjusted to fit PG behaviour in 7.1.

See tests:
- test_explain_options_with_eager_loading
- test_explain_with_options_as_symbols
- test_explain_with_options_as_strings

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.