You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: database_tasks.rb
    path of file: ./repos/activerecord-sqlserver-adapter/lib/active_record/connection_adapters/sqlserver
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module ActiveRecord
  module ConnectionAdapters
    module SQLServer
      module DatabaseTasks
        def cre
    
        def create_database_options(options = {})
          keys  = [:collate]
          copts = @connection_parameters
          options = {
            collate: copts[:collation]
          }.merge(options.symbolize_keys).select { |_, v|
            v.present?
          }.slice(*keys).map { |k, v|
            "#{k.to_s.upcase} #{v}"
          }.join(" ")
          options
        end