The problem is that the resulting json with these attributes does not 
validate my application schema.

El lunes, 14 de noviembre de 2016, 15:35:21 (UTC+1), Oleksandr Gubchenko 
escribió:
>
> I think you can't do it, because when you use select you get always back a 
> document("@type": "d",) with its version.
>
> Il giorno lunedì 14 novembre 2016 15:13:25 UTC+1, Academia Learning Centro 
> de inglés y de formación ha scritto:
>>
>> Hi,
>>
>> I have tried, it has worked with some properties and with others, you 
>> would not know why?
>>
>>
>> select * from pueblo
>> {
>>     "result": [
>>         {
>>             "@type": "d",
>>             "@rid": "#67:0",
>>             "@version": 1,
>>             "@class": "pueblo",
>>             "name": "malagon"
>>         },
>>         {
>>             "@type": "d",
>>             "@rid": "#68:0",
>>             "@version": 1,
>>             "@class": "pueblo",
>>             "name": "pozuelo"
>>         },
>>         {
>>             "@type": "d",
>>             "@rid": "#69:0",
>>             "@version": 1,
>>             "@class": "pueblo",
>>             "name": "valenzuela"
>>         }
>>     ],
>>     "notification": "Query executed in 0.038 sec. Returned 3 record(s)"
>> }
>>
>>
>>
>> select expand(@this.exclude('@type','@rid','@version','@class')) from 
>> pueblo
>> {
>>     "result": [
>>         {
>>             "@type": "d",
>>             "@version": 1,
>>             "name": "malagon"
>>         },
>>         {
>>             "@type": "d",
>>             "@version": 1,
>>             "name": "pozuelo"
>>         },
>>         {
>>             "@type": "d",
>>             "@version": 1,
>>             "name": "valenzuela"
>>         }
>>     ],
>>     "notification": "Query executed in 0.039 sec. Returned 3 record(s)"
>> }
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> El lunes, 14 de noviembre de 2016, 14:51:48 (UTC+1), Oleksandr Gubchenko 
>> escribió:
>>>
>>> Try this query:
>>>
>>> select expand(@this.exclude('@type','@rid','@version','@class')) from v
>>>
>>>
>>>
>>>
>>> Il giorno lunedì 14 novembre 2016 14:27:27 UTC+1, Academia Learning 
>>> Centro de inglés y de formación ha scritto:
>>>>
>>>> Can I get records without this parameters?
>>>>
>>>> "@type": "d",
>>>> "@rid": "#21:2",
>>>> "@version": 1,
>>>> "@class": "EHR",
>>>>
>>>> Thanks
>>>>
>>>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to