added getLastSQl to db doc