cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Anderson" <sander...@airvana.com>
Subject RE: Insert at a particular position in the detail list
Date Thu, 25 Sep 2008 17:30:01 GMT
If you put a new entry in the middle of the list, it's still going to
boil down to a vanilla INSERT. Since DB tables are FIFO, your row will
jump to the end of the list the after a refresh.

If order is important to your application, you'll have to come up with a
way that the database will respect. That could mean, among other things,
sorting on a field, or using relationships to daisy-chain the records
like a linked list.

Mime
View raw message