[Rets-dev] DMQL2 query
Sergio Del Rio
Sergio.Del.Rio at t4bi.com
Thu Feb 1 15:31:30 CST 2007
Well, looks like that got changed in 1.5 and beyond. We stand corrected.
Perhaps the compliance checker should have caught this for our server, which
it did not...
Regards,
Sergio Del Rio
Templates 4 Business Inc.
-----Original Message-----
From: Keith T. Garner [mailto:kgarner at crt.realtors.org]
Sent: February 1, 2007 12:49 PM
To: Sergio Del Rio
Cc: 'Paul Stusiak'; 'Gary Miller'; rets-dev at rets.org
Subject: Re: [Rets-dev] DMQL2 query
I had thought so too, Sergio, until I was looking into it myself. (Then
Paul's mail came in and I dropped it.)
The relevant sections:
string-eq ::= 1*ALPHANUM
range ::= between | greater | less
between ::= ( period | number | string-eq ) - ( period | number |
string-eq )
>From the section Paul sited.
Keith
Sergio Del Rio wrote:
> Mark Sleeman and I are quite sure that the grammar does not, in fact,
allow
> ranges for string data types. Where do you see that the grammar allows
> this?
>
> Regards,
> Sergio Del Rio
> Templates 4 Business Inc.
> Phone: (604) 529-1544
> Cell: (604) 788-3604
> Fax: (604) 676-2562
> Web: http://www.t4bi.com
>
> -----Original Message-----
> From: rets-dev-bounces at rets.org [mailto:rets-dev-bounces at rets.org] On
Behalf
> Of Paul Stusiak
> Sent: February 1, 2007 10:31 AM
> To: Gary Miller
> Cc: rets-dev at rets.org
> Subject: Re: [Rets-dev] DMQL2 query
>
> See section 7.7.3 of the 1.7 specification.
>
> (LP=200000-350000)
>
> List price between 200,000 and 350,000 inclusive.
>
> Section 7.7.2, Query parameter interpretation has a word definition of
> it and section 7.7.1 has the BNF definition for the "range" atom.
>
> In your specific case, the MLS number may be a range, but it could also
> be a string list depending on how it is defined in the system under
> question. Check the metadata to determine what the mls number data type
> is. Range list is defined for both number and string so it should work
> in either case.
>
> Paul
>
> Gary Miller wrote:
>> Does DMQL2 support a "between" style of a query based on a string. For
>> instance I want all MLS numbers between "100" and "120". Does DMQL2
>> support that type of query? If so what would it look like?
>>
>> Thanks.
>>
>> Gary Miller
>>
>> Lucero Research
>>
>> gary.miller at lucero.com
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Rets-dev mailing list
>> Rets-dev at rets.org
>> http://lists.rets.org/mailman/listinfo/rets-dev
>>
> _______________________________________________
> Rets-dev mailing list
> Rets-dev at rets.org
> http://lists.rets.org/mailman/listinfo/rets-dev
>
> _______________________________________________
> Rets-dev mailing list
> Rets-dev at rets.org
> http://lists.rets.org/mailman/listinfo/rets-dev
--
Keith T. Garner - Managing Director - Center for REALTORR Technology
kgarner at realtors.org - 312-329-3294 - http://blog.realtors.org/crt
More information about the Rets-dev
mailing list