 |
Forums |
Admin Start New Thread
By: Francis Hwang
RE: Plans for Lafcadio 0.4.0 [ reply ] 2003-10-07 03:16
|
Hi Dmitry,
I should say that block-based querying is very theoretical at this point -- I'm wondering if I'd end up writing a Ruby parser in Ruby ... So, while I would be very happy to help you out with block-based queries it might be some time before they're ready for prime time.
Right now you can do what you want to accomplish by building a query out of the classes in the query/ subdirectory. Take a look at query/Compare.rb and let me know if you have any questions.
Francis
|
By: Dima Sabanin
RE: Plans for Lafcadio 0.4.0 [ reply ] 2003-10-07 02:41
|
That's very cool! Espesially I need:
Will objectStore.getUsers { |user| user.email =~ /hotmail/ } turn the SQL query to something like select from bla bla where bla bla ? I need that feature now, i.e. I need to get all objects from table with date less or more than specified Is it possible with current version of the system?
|
By: Francis Hwang
Plans for Lafcadio 0.4.0 [ reply ] 2003-10-07 01:06
|
Hi everyone:
Lafcadio 0.4.0 will be the next production release of Lafcadio. Here are some of the features I plan on adding:
* the option of recording class fields in XML files instead of having to write code to instantiate ObjectField.
* config.dat will be replaced with config.xml
* there will be a way to query a limited subset of fields if you want to optimize a search
* you'll be able to write queries like Ruby blocks, such as objectStore.getUsers { |user| user.email =~ /hotmail/ }
I hope to have this version wrapped in three to six months.
How does the above sound to people? Does anybody have any features they'd like added?
Francis
|
|
 |