EPrints Technical Mailing List Archive
Message: #06279
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Figuring out the highest EPrint ID?
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Figuring out the highest EPrint ID?
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Wed, 15 Feb 2017 11:58:01 +0000
Try the database: mysql> SELECT MAX(eprintid) FROM eprint; mysql> SELECT counter FROM counters WHERE counterid = 'eprintid'; There's probably a way to get this via an EPrints session too if you need that? Cheers, John From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Andrew Beeken Hello again! New one here, related to a different project! So, I’m trying to find the HIGHEST EPrint ID that we have in our live system. I was doing this by taking the “Latest Additions” atom feed and looking at the topmost entry, however I have now
realised this isn’t accurate as this could be representative of an item that has been sat in a work area for a number of weeks or even months. Is there an easy way, via endpoint or API access, that I could use to derive the highest number? Andrew
|
- References:
- [EP-tech] Figuring out the highest EPrint ID?
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Figuring out the highest EPrint ID?
- Prev by Date: [EP-tech] Figuring out the highest EPrint ID?
- Next by Date: Re: [EP-tech] Figuring out the highest EPrint ID?
- Previous by thread: [EP-tech] Figuring out the highest EPrint ID?
- Next by thread: Re: [EP-tech] Figuring out the highest EPrint ID?
- Index(es):