There are actually four query systems in various state of disrepair.
query.lisp is the first and simplest hack to play with query syntax.
query2.lisp is missing, but implements a basic query planner/interpreter
the query folder contains an incomplete sketch of a much more
sophisticated query com
I'll take a look and see if I can do anything with it, whether using it or
helping with it. However, do let me (us) know when you track down that
missing file just in case it's important to the use of it.
Regards,
John
On Tue, Feb 10, 2009 at 1:03 PM, Ian Eslick wrote:
> src/elephant/query.lisp
src/elephant/query.lisp contains a simple query model. It is loaded
by default now.
I have a query-interpreter, but the current elephant-1.0 seems to be
missing a key file which I will have to track down.
Neither of these is feature complete or well-tested, so explore at
your own risk. If
Hi Ian,
I've been playing with Elephant and so far so good. I noticed that there is
some code in the query folder. However, I'm not sure if this is at all
functional in any way. Is it? How could I begin to use some of whatever is
done there?
Thanks,
John
On Tue, Jan 27, 2009 at 1:32 PM, Ian Esli
Hi Ian,
I've been playing with Elephant and so far so good. I noticed that there is
some code in the query folder. However, I'm not sure if this is at all
functional in any way. Is it? How could I begin to use some of whatever is
done there?
Thanks,
John- Hide quoted text -
On Tue, Jan 27, 2009
>
> Now, I think the last few questions I have on this subject before
> delving further are
>
> 1) What data structure do associations use to store the list of
> associated objects? My little understanding of update-association-
> end implies that the association slot creates some sort of inde
Hi Ian,
I guess there is nothing better than trying it out :)
ELE-TESTS> (defpclass person ()
((friends :accessor friends-of :associate (person friends)
:many-to-many t)))
#
ELE-TESTS> (defparameter person1 (make-instance 'person))
PERSON1
ELE-TESTS> (defparameter person2 (make-insta
On Wed, Jan 28, 2009 at 12:26 AM, Ian Eslick wrote:
> >
> Hi John,
>
> Your mileage may vary, but I'm really not concerned about users
> causing significant performance degradation by doing lots of null
> edits. If that is happening, it's probably a user interface design
> problem. The trivial
That would be correct if you added (setf (friends-of person3) person2)
On Jan 27, 2009, at 5:06 PM, John wrote:
> Thanks for the clear example. However, maybe the idioms are
> confusing me, but many-to-many tells me that I should be able to do
> something like:
>
> (setf (friends-of person1)
>
Hi John,
Your mileage may vary, but I'm really not concerned about users
causing significant performance degradation by doing lots of null
edits. If that is happening, it's probably a user interface design
problem. The trivial solution is to write a jscript function that
sets a hidden
Thanks for the clear example. However, maybe the idioms are confusing me,
but many-to-many tells me that I should be able to do something like:
(setf (friends-of person1) person2)
(setf (friends-of person1) person3)
(setf (friends-of person1) person4)
(setf (friends-of person1) person5)
(setf (fr
Hi Ian,
Thank you for your prompt response. Some comments below
On Tue, Jan 27, 2009 at 1:32 PM, Ian Eslick wrote:
>
> Such a thing would be possible, but you would need to have a local
> copy of the value in memory and this could create more problems than
> it solves. It's also unclear to me
Slot associations appear to work reflexively, by the way.
(defpclass self-assoc ()
((friends-of :accessor friends-of
:associate (self-assoc friended-me)
:many-to-many t)
(friended-me :accessor friended-me
On Jan 27, 2009, at 11:00 AM, John wrote:
>
> 1) Every read/write of pclass slots is done directly from/to the
> database, so no in-memory "copy" exists (unless some sort of
> transient cache slot model is used). This is good. However, is
> Elephant "intelligent" enough so that if you attemp
Hi all,
I've recently come across Elephant and have been reading the manual (even
though it claims to be a bit stale). My approach is to read the manual and
then dig into the code to learn more details or discrepancies not
documented/updated on manual. In so far, I have a few questions I wonder if
15 matches
Mail list logo