uns client->avls get last position from sql