[SOLVED] How to get _id of a recently inserted record so you can use it as your Primary Field.

Why not to update both fields together?