Open Miserlou opened 7 years ago
what about being able to add a range_index, similar to DynamoDB range keys?
nodb.index = 'name'
nodb.range_index = 'login_date'
save could create a key structure like bucket_name/str(self._format_index_value())/int(range_index)
then you could have a query like
nodb.filter(index='jeff', range__gte=datetime.datetime(year=2018, month=1, day=1).timestamp())
# [<User: jeff, login_date: 2019...>, ...]
ex,