module SQLite3ExtendFunction::Functions::Concat

SQLite3ExtendFunction::Functions::Concat

Public Class Methods

call(*args) click to toggle source

@param [Array<String>] args @return [String] @raise [SQLite3::SQLException]

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