Insert raw data on geometry type field (postgis)
Created by: aderbas
I'm using the method 'save' to insert row on my table, it has a field of type 'geometry'. Supports the 'geometry' type? or I need to use raw data like: ST_GeomFromText ('POINT (48.432044 -71.060316)', 4326)
var complaint = {location: 'raw data?'};
db.complaint.save(complaint, function(err, saved){
//
});