Skip to content

Commit

Permalink
fix flipped prevent_writes docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ethowitz committed Dec 12, 2023
1 parent dd34630 commit d422aea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/readyset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ def self.raw_query(*sql_array) # :nodoc:
end
end

# Routes to ReadySet any queries that occur in the given block. If `prevent_writes` is false, an
# Routes to ReadySet any queries that occur in the given block. If `prevent_writes` is true, an
# attempt to execute a write within the given block will raise an error. Keep in mind that if
# `prevent_writes` is true, any writes that occur within the given block will be proxied through
# `prevent_writes` is false, any writes that occur within the given block will be proxied through
# ReadySet to the database.
#
# @param [Boolean] prevent_writes prevent writes from being executed on the connection to ReadySet
Expand Down

0 comments on commit d422aea

Please sign in to comment.