I have two layers in QGIS:
- "line" layer which consists of lines and multi-lines
- "Point" with points with attribute 'Code'
How to write a efficient script in PyQGIS to find out all the lines at whose
- start point, there is a point with Code value "1" and
- end point, there is a point with Code value "1"
