parameters: (self, note_id)
return_statement: return res
docstring: Search collection for notes with given ID in their omask paths
docstring_summary: Search collection for notes with given ID in their omask paths
docstring_tokens: Search collection for notes with given ID in their omask paths
function: def findByNoteId(self, note_id):
          """Search collection for notes with given ID in their omask paths"""
          # need to use omask path because Note ID field is not yet set
          query = '"%s:*%s*"' % (self.ioflds['om'], note_id)
          logging.debug("query: %s", query)
          res = mw.col.findNotes(query)
          return res
function_tokens: def findByNoteId ( self , note_id ) : # need to use omask path because Note ID field is not yet set query = '"%s:*%s*"' % ( self . ioflds [ 'om' ] , note_id ) logging . debug ( "query: %s" , query ) res = mw . col . findNotes ( query ) return res