def call(*args)
    pstmt = @connection.prepare("select #{name}(#{args.map{'?'}.join ','})#{@suffix}")
    begin
      pstmt.query(*args).to_a[0][0]
    ensure
      pstmt.close
    end
  end
def call(*args)
    pstmt = @connection.prepare("select #{name}(#{args.map{'?'}.join ','})#{@suffix}")
    begin
      pstmt.query(*args).to_a[0][0]
    ensure
      pstmt.close
    end
  end
def call ( * args ) pstmt = @connection . prepare ( "select #{name}(#{args.map{'?'}.join ','})#{@suffix}" ) begin pstmt . query ( args ) . to_a [ 0 ] [ 0 ] ensure pstmt . close end end
Returns the result of the function call with the given parameters
Returns the result of the function call with the given parameters