Hi,

which is the best strategy to implement a sequence when my app has to
be deployed on App engine?

Basically, I have a table with more than 100 records and I would like
to extract from it 10 random records.

I'm just thinking to use a separate table with a counter and the
google id from the primary table. Then I will add there a new mapping
record every time I will write a new record in the primary table.

eg:

1 | table_A_id1
2 | table_A_id2
3 | table_A_id3

100 | table_A_id100.

I know I'm going to face an issue if I will delete records from the
primary table.

Any better strategy?

Uolter

Reply via email to