<commit_before>module Autobots
  module DAO
    # In order to reuse the ID as a new facebook user
    class FacebookReg < Base
      def facebook_reg(person_id)
        result = @connection.exec('delete from external_auth_profiles_t where person_id = :1 ; commit', person_id)
        unless result.nil? || result == 0
          result.fetch.first
        end
      end
    end
  end
end<commit_msg>KFP-8325<commit_after>module Autobots
  module DAO
    # In order to reuse the ID as a new facebook user
    class FacebookReg < Base
      def facebook_reg(person_id)
        result = @connection.exec('select * from tblperson where person_id = :1', person_id)
        unless result.nil? || result == 0
          result.fetch.first
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.06892067620286085, 'fraction_numerical': 0.010403120936280884, 'mean_word_length': 2.4529147982062782, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '905965', 'n_tokens_mistral': 237, 'n_tokens_neox': 225, 'n_words': 76}