Support reference field in sqlsync