Sha256: a962d3b478732e3ff8d306c92a7b5a240906ed401a5a13401def327f06d992d7
Contents?: true
Size: 645 Bytes
Versions: 7
Compression:
Stored size: 645 Bytes
Contents
module Datadog module Tracing module Contrib module Utils # Common database-related utility functions. module Database VENDOR_DEFAULT = 'defaultdb'.freeze VENDOR_POSTGRES = 'postgres'.freeze VENDOR_SQLITE = 'sqlite'.freeze module_function def normalize_vendor(vendor) case vendor when nil VENDOR_DEFAULT when 'postgresql' VENDOR_POSTGRES when 'sqlite3' VENDOR_SQLITE else vendor end end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems