Pike v8.1 release 6

Method ADT.Table.table()->where()


Method where

object where(array(int|string)|int|string columns, function(:void) f, mixed ... args)

Description

This method calls the function for each row. If the function returns zero, the row will be thrown away. If the function returns something non-zero, the row will be kept. The result will be returned as a new table object.