>
> Could you clarify how the interface should look?
>
> SQLField("title","list_of_stings")
>
> and SQL will treat it like a "string", and GQL will treat it like a
> "StringListProperty"
yes for GQL. Not sure we should support this to SQL too This is very
specific of GQL. The physlosophy behind sql.py is make the tines
possible abstraction layer on SQL. Implementing things that are
typical GAE wierdness will result in bloated code that may be
inefficient and should not be encouraged.
> or add model meta data?
I do not think we need meta data.
> What about creating a field to set the parent key?
Why? Not sure I understand the question.
1)
WHERE firstname='Max' and (lastname='DiPierro' OR lastname LIKE 'Di%')
is equivalent to
WHERE (firstname='Max' AND astname='DiPierro') OR (firstname='Max'
AND lastname LIKE 'Di%')
2) execute
SET1 = SELECT * from .... WHERE (firstname='Max' AND
lastname='DiPierro') on GAE and
SET2 = SELECT * from .... WHERE (firstname='Max') on GAE seperately
3) Filter SET2 by lastname LIKE 'Di%' and merge SET1 with SET2
4) resort and regroup using python the merged set of records
This is not that difficult to do and is very general.
On Jun 19, 2008, at 10:38 PM, Robin B wrote: