Get all keys in Couchbase

hi:
is there any function can return all the keys in couchbase?

The way to do this is with a view.