|
|
| Author |
Message |
|
| silvester |
Posted: Fri Mar 26, 2010 12:01 am |
|
|
|
Joined: 07 Jan 2009
Posts: 5
|
hi,
suppose I have 5 records in a ets/mnesia table,
the table is sorted by key (doesn't matter which key and order).
how I fetch record number 3 from top?
thanks in advance
Silvester |
|
|
| Back to top |
|
| silvester |
Posted: Fri Mar 26, 2010 11:04 pm |
|
|
|
Joined: 07 Jan 2009
Posts: 5
|
0. record for example is: {table,{Val,Key},Index=undefined}
1. key can be used as a tuple, so my key is the tuple: {Val,Key}
2. the table is ordered set, so the Val's are sorted.
3. a foldl/3 runs all over the table and update the index accordingly.
4. assume we index_read the index column, we can fetch it with one access.
foldl/3 is time consuming, but its OK to me as I do it offline once in a while. |
|
|
| Back to top |
|
| wuji |
Posted: Sat Aug 11, 2012 1:29 am |
|
|
|
User
Joined: 10 Aug 2012
Posts: 654
|
for your appeal. There are really only three basic basic cheap replica *beep* basic arguments you can make to appeal your tax assessment.
keeps it nice and simple. See if one applies:1. The The replica designer *beep* The assessor made a mistake in describing your house. This
covers situations where the assessor made simple math mistakes. Maybe Maybe cheap Ralph Lauren Polo Maybe he got the square footage wrong (only heated, livable
should be counted), or stated that you have five bedrooms bedrooms cheap designer *beep* bedrooms when you have three. If you uncover these errors,
you – you've just upped your chances of a slam slam replica designer bags for sale slam dunk win. All you have to do is gather
and describe the errors in writing or in person.2. You You cheap replica *beep* You just bought the house for less. If you recently |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|