# File lib/tapkit/access/sql.rb, line 90 def table_list( entity, join = true ) list = nil if use_aliases? then if join == true then name = entity.external_name if @entity = entity then another = @aliases[''] else another = @aliases[name] end list = "#{name} #{another}" else list = _table_list_by_aliases entity end else list = entity.external_name end list end