Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Best way to pull one random record from Deta Base? (Python) #336

Answered by abdelhai
eddy-22 asked this question in Help
Discussion options

You must be logged in to vote

deta base doesn't support this capability. the randomization should happen outside the query. in addition to what @jnsougata suggested, it might also be possible to generate a specific time in the past and use comparison operators to get a random result. not sure how well this would work in reality.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@eddy-22
Comment options

@jnsougata
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by eddy-22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants