Sha256: 60a3089e1732cb700de1be1f30b03bb2872a0e094f59c984ccaf7c6284223367

Contents?: true

Size: 374 Bytes

Versions: 4

Compression:

Stored size: 374 Bytes

Contents

module Blueprints
  module DatabaseBackends
    # Database backend when no orm is actually used. Can be adapted to work with any kind of data.
    class None
      # Dummy method
      def start_transaction
      end

      # Dummy method
      def revert_transaction
      end

      # Dummy method
      def delete_tables(delete_policy, *args)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blueprints-0.5.0 lib/blueprints/database_backends/none.rb
blueprints-0.4.2 lib/blueprints/database_backends/none.rb
blueprints-0.4.1 lib/blueprints/database_backends/none.rb
blueprints-0.4.0 lib/blueprints/database_backends/none.rb