cartodb-4.42/lib/carto/db/function.rb
2024-04-06 05:25:13 +00:00

22 lines
619 B
Ruby

module Carto
module Db
class Function
attr_reader :database_name, :database_schema, :name, :argument_data_types
def initialize(database_name:, database_schema:, name:, argument_data_types:)
@database_name = database_name
@database_schema = database_schema
@name = name
@argument_data_types = argument_data_types
end
def ==(other)
@database_name == other.database_name &&
@database_schema == other.database_schema &&
@name == other.name &&
@argument_data_types == other.argument_data_types
end
end
end
end