module
Prostore::Steps
Defined in:
prostore/steps/codec.crprostore/steps/executor.cr
prostore/steps/planner.cr
prostore/steps/step.cr
Class Method Summary
-
.requires_transaction?(step : Kind::Any, adapter : Adapter::Base | Nil = nil) : Bool
Whether this step kind must run inside a transaction.
Class Method Detail
Whether this step kind must run inside a transaction.
AddIndex against an adapter that supports CREATE INDEX CONCURRENTLY
returns false — Postgres requires that variant to run outside a
transaction. Every other step is true because they're single DDL
statements that benefit from atomic application.