docs icon indicating copy to clipboard operation
docs copied to clipboard

Phalcon\Mvc\Model\Query\Builder::columns() poorly specified

Open Chealer opened this issue 4 years ago • 0 comments

The documentation of the Phalcon\Mvc\Model\Query\Builder class's columns() method is minimal:

Sets the columns to be queried

As suggested by https://docs.phalcon.io/4.0/fr-fr/db-phql, more precisely:

columns - array | string - columns to select

There are examples which hint about valid arguments. Here is another example I found: ->columns("CQLC\Models\Notifications.*")

Chealer avatar Jul 20 '21 19:07 Chealer