Module: QueryBuilder::CQL::Modifiers::Superuser
- Included in:
- Statements::AlterRole, Statements::AlterUser, Statements::CreateUser
- Defined in:
- lib/query_builder/cql/modifiers/superuser.rb
Overview
Provides (NO)SUPERUSER clauses for statements
Defined Under Namespace
Classes: Clause
Instance Method Summary collapse
-
#superuser(option = true) ⇒ QueryBuilder::Core::Statement
Adds (NO)SUPERUSER clause to the statement.
Instance Method Details
#superuser(option = true) ⇒ QueryBuilder::Core::Statement
Adds (NO)SUPERUSER clause to the statement
17 18 19 |
# File 'lib/query_builder/cql/modifiers/superuser.rb', line 17 def superuser(option = true) self << Clause.new(reverse: !option) end |