Class: TC_Integration_Aggregate::RaiseExceptionStepAggregateHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_aggregate.rb,
lib/sqlite3-1.5.3-x86_64-darwin/test/test_integration_aggregate.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.arityObject



263
# File 'lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_aggregate.rb', line 263

def arity; 1; end

.nameObject



265
# File 'lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_aggregate.rb', line 265

def name; "raiseexception"; end

.text_repObject



264
# File 'lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_aggregate.rb', line 264

def text_rep; SQLite3::Constants::TextRep::ANY; end

Instance Method Details

#finalize(ctx) ⇒ Object



270
# File 'lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_aggregate.rb', line 270

def finalize(ctx); ctx.result = nil; end

#step(ctx, a) ⇒ Object

Raises:



267
268
269
# File 'lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_aggregate.rb', line 267

def step(ctx, a)
  raise CustomException.new( "bogus aggregate handler" )
end