[Qgis-developer] $id not working as default value

Paolo Cavallini cavallini at faunalia.it
Fri Dec 23 03:51:51 PST 2016


Hi all,
if I define the function `$id` as a default value for newly entered
geoms, I only get 0s. Is there a way of having a serial in shapefile?
Yes, I know, nobody should use shapefiles anymore :)
All the best, and thanks.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis


More information about the Qgis-developer mailing list