code: def _open(self, db, writeAccess=False):
          
          if not sqlite:
              raise orb.errors.BackendNotFound('sqlite is not installed.')
  
          dbname = db.name()
  
          try:
              sqlite_db = sqlite.connect(dbname)
              sqlite_db.create_function('REGEXP', 2, matches)
              sqlite_db.row_factory = dict_factory
              sqlite_db.text_factory = unicode
  
              self.__threaded_connections[sqlite_db] = threading.current_thread().ident
  
              return sqlite_db
          except sqlite.Error:
              log.exception('Failed to connect to sqlite')
              raise orb.errors.ConnectionFailed()
docs: Handles simple, SQL specific connection creation.  This will not
          have to manage thread information as it is already managed within
          the main open method for the SQLBase class.
          
          :param      db | <orb.Database>
          
          :return     <variant> | backend specific database connection