[Qgis-user] SQL Expressions

Junior Delaz delazj at gmail.com
Mon Mar 30 05:39:21 PDT 2015


thanks to all of u. Now I uderstand more what I use to write.

2015-03-30 14:31 GMT+02:00 Alexandre Neto <senhor.neto at gmail.com>:

> Someone corrects me If I'm wrong.
>
> On Mon, Mar 30, 2015 at 1:07 PM, Junior Delaz <delazj at gmail.com> wrote:
>>
>> By the way, can someone explain me why for some functions (attribute,
>> getFeature), you need to use simple quote for the fields and double
>> quotes when using other functions ?
>>
>
> Because in the expression calculator, whenever you use the double quotes,
> it will be evaluated before and it will return the value stored inside the
> feature's attribute. But for some functions, like attribute(), one of the
> arguments is a string with the name of the attribute itself, and not his
> value.
>
> Best regards,
>
> Alexandre Neto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150330/09c788ea/attachment.html>


More information about the Qgis-user mailing list