Prechádzať zdrojové kódy

Added docs to base adapter

Andrew Kane 8 rokov pred
rodič
commit
a0af33b66f
1 zmenil súbory, kde vykonal 5 pridanie a 0 odobranie
  1. 5 0
      lib/blazer/adapters/base_adapter.rb

+ 5 - 0
lib/blazer/adapters/base_adapter.rb

@@ -8,18 +8,23 @@ module Blazer
       end
 
       def run_statement(statement, comment)
+        # the one required method
       end
 
       def tables
+        [] # optional, but nice to have
       end
 
       def reconnect
+        # optional
       end
 
       def cost(statement)
+        # optional
       end
 
       def explain(statement)
+        # optional
       end
     end
   end