Postgresql Find Index Of Array Javascript Documentation