[Developers] List Of Properties

Jason Douglas jason at metaweb.com
Wed Jul 9 19:23:35 UTC 2008


On Jul 9, 2008, at 10:37 AM, Warren Harris wrote:

> It occurred to me that you can get the schema information for cvt  
> properties with this all-in-one query at the same time you get  
> everything else (whether or not the object in question has values  
> for those properties) by requesting more from the expected_type  
> clauses. Unfortunately, this means your application has to look in 2  
> places in the result to know what/how to display -- first in the  
> property's expected_type's properties (for cvt schema), and then in  
> the property's links' target's any_master/any_value for whether or  
> not there are values of these cvt properties (yeah... don't try this  
> at home):


That's what I was looking for, thanks!  In some ways it's actually  
better to have the property metadata separate -- i.e., build a table  
header separately from the rows.

-jason



More information about the Developers mailing list