Sha256: 809116d2bd724419809aa5cb0a194240ed8859a168a5a7efd3a8e37738c4dabb
Contents?: true
Size: 665 Bytes
Versions: 9
Compression:
Stored size: 665 Bytes
Contents
module Blueprints module DatabaseBackends class Abstract # Method to start transaction. Needs to be implemented in child class. def start_transaction raise NotImplementedError end # Method to revert transaction. Needs to be implemented in child class. def revert_transaction raise NotImplementedError end # Method to clear tables. Should accept delete policy and list of tables to delete. If list of tables is empty, should # delete all tables. Needs to be implemented in child class. def delete_tables(delete_policy, *args) raise NotImplementedError end end end end
Version data entries
9 entries across 9 versions & 1 rubygems