Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » There is a selectFirst method on ETL?
There is a selectFirst method on ETL? [message #1737277] Wed, 06 July 2016 19:13 Go to next message
Nicolas   is currently offline Nicolas Friend
Messages: 38
Registered: October 2014
Member
Hey guys,

I was wondering if there is an equivalent to replace an operation doing a select and retrieving the first one:

->select(CONDITION)->first();

With something like:

->selectFirst(CONDITION);

I'd like to know if something like it exists, as those conditions are commonly used and it would help to factorize a little bit of code.

Thanks in advance
Re: There is a selectFirst method on ETL? [message #1737280 is a reply to message #1737277] Wed, 06 July 2016 19:57 Go to previous messageGo to next message
Alireza Rouhi is currently offline Alireza RouhiFriend
Messages: 126
Registered: December 2015
Senior Member
Hi Nicolas,

There is a command named ->selectOne(condition) which acts as you expect.

Best regards,
Alireza
Re: There is a selectFirst method on ETL? [message #1738902 is a reply to message #1737280] Mon, 25 July 2016 21:27 Go to previous message
Nicolas   is currently offline Nicolas Friend
Messages: 38
Registered: October 2014
Member
Thanks a lot, this one is working just fine Smile
Previous Topic:Splitting ETL into several modules
Next Topic:EVL: Standalone example not working
Goto Forum:
  


Current Time: Mon Jun 18 21:22:10 GMT 2018

Powered by FUDForum. Page generated in 0.01488 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top