Restore locals created by prepare_expression.

restore_locals(dat, parent, db)

Arguments

dat

An expression that has been through prepare_expression. Key elements are function_hash and objects

parent

The parent environment to restore locals to

db

The database used to prepare the expression