-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
As you have given a save() example.
partition_key = _key_for_dt(tweet_data['created_at'])
partition = Tweet.partitions.get_partition(partition_key)
tweet = partition(**tweet_data)
tweet.save()
I'm wonder that is how does the following code execute:
tweet = Tweet.objects.filter(user='Jimmy')
or if there is only one record in Tweet
tweet = Tweet.objects.get(user='Jimmy')
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels