#1 Added table name to queries
#2 Added in_array_values method for better performance instead of 'IN' postgres
#3 Added or_conditions method for join conditions with OR