Exemple #1
0
def get_next_bookmarkId(redis_obj):
	''' Get the next unique bookmark id '''

	key = "global:bookmarkId"
	return Redis.next_unique_key(redis_obj, key)
Exemple #2
0
def get_next_userId(redis_obj):
	''' Get the next unique user id '''
	
	key = "global:userId"
	return Redis.next_unique_key(redis_obj, key)