Module: Sequel::Oracle::DatasetMethods
- Includes:
- Dataset::UnsupportedIntersectExceptAll
- Included in:
- JDBC::Oracle::Dataset, Dataset
- Defined in:
- lib/sequel_core/adapters/shared/oracle.rb
Constant Summary collapse
- SELECT_CLAUSE_ORDER =
%w'distinct columns from join where group having compounds order limit'.freeze
Instance Method Summary collapse
- #empty? ⇒ Boolean
-
#except(dataset, all = false) ⇒ Object
Oracle uses MINUS instead of EXCEPT, and doesn’t support EXCEPT ALL.
Instance Method Details
#empty? ⇒ Boolean
26 27 28 |
# File 'lib/sequel_core/adapters/shared/oracle.rb', line 26 def empty? db[:dual].where(exists).get(1) == nil end |
#except(dataset, all = false) ⇒ Object
Oracle uses MINUS instead of EXCEPT, and doesn’t support EXCEPT ALL
21 22 23 24 |
# File 'lib/sequel_core/adapters/shared/oracle.rb', line 21 def except(dataset, all = false) raise(Sequel::Error, "EXCEPT ALL not supported") if all compound_clone(:minus, dataset, all) end |