Module: Sequel::Oracle::DatasetMethods

Module | Sequel::Oracle::DatasetMethods
In: | lib/sequel_core/adapters/shared/oracle.rb

### Methods

empty? except

### Included Modules

Dataset::UnsupportedIntersectExceptAll

### Constants

SELECT_CLAUSE_ORDER | = | %w'distinct columns from join where group having compounds order limit'.freeze

### Public Instance methods

empty?()

[Source]

        # File lib/sequel_core/adapters/shared/oracle.rb, line 25
    25:       def empty?
    26:         db[:dual].where(exists).get(1) == nil
    27:       end

except(dataset, all = false)

Oracle uses MINUS instead of EXCEPT, and doesn‘t support EXCEPT ALL

[Source]

        # File lib/sequel_core/adapters/shared/oracle.rb, line 20
    20:       def except(dataset, all = false)
    21:         raise(Sequel::Error, "EXCEPT ALL not supported") if all
    22:         compound_clone(:minus, dataset, all)
    23:       end

[Validate]