[service][XDatabase]Add support for exists/not exists