Used dictionary to improve searching performance. Used correct primary key (childVal instead of pk).
Used dictionary to improve searching performance. Used correct primary key (childVal instead of pk).

jianpingw/sails-postgresql,KeKs0r/sails-postgresql,anotherpit/sails-postgresql,balderdashy/sails-postgresql