[add]add support for execute raw sql
[add]add support get record with remote_id when id in not exist