# frozen_string_literal: truemoduleGitlabmoduleImportmoduleDatabaseHelpers# Inserts a raw row and returns the ID of the inserted row.## attributes - The attributes/columns to set.
definsert_and_return_id(attributes,relation)# We use bulk_insert here so we can bypass any queries executed by# callbacks or validation rules, as doing this wouldn't scale when# importing very large projects.