code: async def iterFormRows(self, form):
          '''
          Iterate (buid, valu) rows for the given form in this layer.
          '''
  
          # <form> 00 00 (no prop...)
          pref = form.encode() + b'\x00\x00'
          penc = b'*' + form.encode()
  
          for _, pval in self.layrslab.scanByPref(pref, db=self.byprop):
  
              buid = s_msgpack.un(pval)[0]
  
              byts = self.layrslab.get(buid + penc, db=self.bybuid)
              if byts is None:
                  continue
  
              valu, indx = s_msgpack.un(byts)
  
              yield buid, valync def iterFormRows(self, form):
          '''
          Iterate (buid, valu) rows for the given form in this layer.
          '''
  
          # <form> 00 00 (no prop...)
          pref = form.encode() + b'\x00\x00'
          penc = b'*' + form.encode()
  
          for _, pval in self.layrslab.scanByPref(pref, db=self.byprop):
  
              buid = s_msgpack.un(pval)[0]
  
              byts = self.layrslab.get(buid + penc, db=self.bybuid)
              if byts is None:
                  continue
  
              valu, indx = s_msgpack.un(byts)
  
              yield buid, valu
docs: Iterate (buid, valu) rows for the given form in this layer.