module SQLite3ExtendFunction::Functions::Chr

SQLite3ExtendFunction::Functions::Chr

Public Class Methods

call(int) click to toggle source

@param [Integer] int @return [String] @raise [SQLite3::SQLException]

# File lib/sqlite3_extend_function/functions/chr.rb, line 11
def call(int)
  int.chr
rescue ArgumentError
  raise SQLite3::SQLException, 'No function matches the given name and argument types. ' \
    'You might need to add explicit type casts.'
end