xport-a-document-and-its-nested-documents-in-json
>
>
> Best Regards,
>
> Luca Garulli
> Founder & CEO
> OrientDB <http://orientdb.com/>
>
>
> On 31 October 2015 at 13:47, Thomas Kennedy <tomais....@gmail.com
> > wrote:
>
>> Any help would be
Any help would be much appreciated.
On Wednesday, 28 October 2015 10:16:12 UTC, Thomas Kennedy wrote:
>
> I have a simple query
>
> select * from Questions fetchplan last_comment:0 order by createdAt desc
>
> I am looking for the resultset to return the last_comm
I have a simple query
select * from Questions fetchplan last_comment:0 order by createdAt desc
I am looking for the resultset to return the last_comment expanded along
with the result of the questions class.
I am using a Orientjs to interface with orient. It doesnt return the
expanded
I have a class User below and I'm storing profile pictures as a linkedlist
to another class called ProfilePicture.
I want to return all the columns in User and the last entry in the
profile_picture.
Any ideas how this query would look?
[ { '@type': 'd',
'@class': 'User',
I solved it like this
Select email, last(profile_picture.filename) from User where username =
'tom'
Is this the most efficient way though?
On Monday, 22 June 2015 22:36:02 UTC+1, Thomas Kennedy wrote:
I have a class User below and I'm storing profile pictures as a linkedlist
to another
I have a time series modelled in the graph way
year(linkmap)-month(linkmap)-day(linkmap)-hour(linkmap)
I have two other vertices which are events and users
I want to join events to the time series. Is this best achieved by using an
edge or a linkset?
I have a time series model where I create an edge between a hour vertex and
an event vertex. The edge is called registered_event.
I have tried the following query but it is not giving me results. Any ideas?
select expand(month[12].day[3].hour[23]).out('registered_event') from Year
where year =
://localhost:2480/studio/index.html#/database/test/browse/edit/27:4
#27:5
http://localhost:2480/studio/index.html#/database/test/browse/edit/27:5
On Tuesday, 2 June 2015 23:39:55 UTC+1, Thomas Kennedy wrote:
I have a time series model where I create an edge between a hour vertex
and an event vertex
Hi,
Has anybody implemented an activity feed in Orient?
Something like Linkedin or Twitter.
I am looking for examples on how to do this?
Tom
--
---
You received this message because you are subscribed to the Google Groups
OrientDB group.
To unsubscribe from this group and stop receiving
I am having setting up a hook on a class. After altering the class to be
OTriggered I am not able to retrieve any connected edges to that class.
Does anybody know why this might be?
Class A - Vertex
Class B - OTriggered
Class connected - Edge
A-Connected-B
If I convert B back to be a vertex
Hi,
I am using the graph API in Javascript and was wondering how to split a
string,
var dStr = r[key].getRecord().field(@Rid);
dStr.slice(1,3)
It gives an error
Cannot find function slice in object #17:6
Any tips on how to best copy the value out of the orient object so I can
edit?
Solved by creating a string Object.
new String(OrientOBj);
On Thursday, 26 June 2014 21:48:12 UTC+1, Thomas Kennedy wrote:
Hi,
I am using the graph API in Javascript and was wondering how to split a
string,
var dStr = r[key].getRecord().field(@Rid);
dStr.slice(1,3)
It gives
| #12:0 | | #11:1 | #11:0
Connects | #12:1 | | #11:2 | #11:1
Connects | #12:2 | | #11:3 | #11:2
On Monday, 9 June 2014 21:45:43 UTC+1, Lvc@ wrote:
Hi Thomas,
May you post here, given that domain, what's te result you want in terms
of output?
Lvc@
On 9 June 2014 20:20, Thomas Kennedy
start? If you don't have a root vertex, you could do:
select *, outE() from A
Or even:
select *, inV() from Connects
Lvc@
On 8 June 2014 18:20, Thomas Kennedy tomais@gmail.com javascript:
wrote:
Hi,
I have a node A and these are connected by an edge called connects.
I want
Can anybody help here?
On Monday, 9 June 2014 08:17:20 UTC+1, Thomas Kennedy wrote:
The Root Node is #11:0
But I need both Class's V and E returned. And I only need the edge connect.
select outE('connects') from A
It also sees to only go one level. I need all the connected edges
Hi,
I have a node A and these are connected by an edge called connects.
I want to return Both Vertex and Edge in the Query?
Any help would be grateful?
A
RID Name
-
#11:0 | Link1
#11:1 | Link2
#11:2 | Link3
#11:3 | Link4
Connects
RIDOut In
--
Kennedy tomais@gmail.com
javascript:wrote:
JSON.parse fixed this.
On Tuesday, 20 May 2014 23:40:36 UTC+1, Thomas Kennedy wrote:
I have a server side with javascript function one parameter called Data.
The value of Data is {test:5}. This is passed in as a string.
in the javascript
I have a question about how to store some instances of meta data in a class.
I have a class called Foo which stores instances of data.
I have another class called properties that stores meta data of fields that
can be stored in Foo.Properties.
class Foo
Name | String
Properties | ?
class
?
Any thoughts?
On Wednesday, 21 May 2014 19:52:48 UTC+1, Thomas Kennedy wrote:
I have a question about how to store some instances of meta data in a
class.
I have a class called Foo which stores instances of data.
I have another class called properties that stores meta data of fields
JSON.parse fixed this.
On Tuesday, 20 May 2014 23:40:36 UTC+1, Thomas Kennedy wrote:
I have a server side with javascript function one parameter called Data.
The value of Data is {test:5}. This is passed in as a string.
in the javascript function I want to access the value of test
OrientDB console v.1.7-rc2 (build UNKNOWN@r${buildNumber}; 2014-03-25
15:54:54
On Sun, May 11, 2014 at 8:20 AM, Thomas Kennedy tomais.kenn...@gmail.comwrote:
Hi,
I am executing the following using HTTP interface
{
transaction: true,
operations: [
{
type
OrientDB console v.1.7-rc2 (build UNKNOWN@r${buildNumber}; 2014-03-25
15:54:54
On Sunday, 11 May 2014 08:20:56 UTC+1, Thomas Kennedy wrote:
Hi,
I am executing the following using HTTP interface
{
transaction: true,
operations: [
{
type: script
/orientechnologies/orientdb-community/1.7-SNAPSHOT/
Erik
On Sunday, May 11, 2014 1:22:31 AM UTC-6, Thomas Kennedy wrote:
OrientDB console v.1.7-rc2 (build UNKNOWN@r${buildNumber}; 2014-03-25
15:54:54
On Sunday, 11 May 2014 08:20:56 UTC+1, Thomas Kennedy wrote:
Hi,
I am executing
This is really great Luca.
Hopefully the community can be active to post examples and provide code
snippets to help others.
On Wednesday, 7 May 2014 23:56:42 UTC+1, Lvc@ wrote:
Hi,
We decided to adopt the Oriento driver as the official *Node.js* driver
for OrientDB. Now you can find it
Hi,
I am trying to use the batch interface to insert records. I have attached a
simple one record insert.
It is giving me an error
string(78) java.lang.ClassCastException: java.lang.String cannot be cast
to java.util.Map
Any suggestions?
Regards,
Tom
?php
$url =
There URL was incorrect.
Issue: fixed
On Tuesday, 22 April 2014 21:21:58 UTC+1, Thomas Kennedy wrote:
Hi,
I am trying to use the batch interface to insert records. I have attached
a simple one record insert.
It is giving me an error
string(78) java.lang.ClassCastException
Correction the POSTFIELDS parameter was incorrect.
On Tuesday, 22 April 2014 21:55:48 UTC+1, Thomas Kennedy wrote:
There URL was incorrect.
Issue: fixed
On Tuesday, 22 April 2014 21:21:58 UTC+1, Thomas Kennedy wrote:
Hi,
I am trying to use the batch interface to insert records. I have
I expect to see {Name:List}
On Monday, 7 April 2014 18:13:09 UTC+1, Thomas Kennedy wrote:
Hi,
I trying t use the console to insert some value into an embedded map type.
I input {Name:List} into the textbox and save and
get {Name:{List:null}} instead.
Can anybody help me with what im
Kevin,
Orient has Classes which can be either a vertex or an edge if you want to
use graph approach or you can just create a class which is the same a
document collection.
These classes are like documents in Mongo and can be schemaless. The studio
is great to quickly create your data models.
Excellent.
I use node in my project. Will be sure to give it a try.
On Thursday, 20 March 2014 01:49:52 UTC, Charles Pick wrote:
Hi, I'd like to announce a new binary protocol client for nodejs -
Orientohttps://github.com/codemix/oriento
While it is descended from the great work Giraldo
Hi,
Is the orient PHP driver still under active development?
https://github.com/AntonTerekhov/OrientDB-PHP
Im trying to use it with 1.7rc1.
Regards,
Tom
--
---
You received this message because you are subscribed to the Google Groups
OrientDB group.
To unsubscribe from this group and stop
Also if anybody knows if graphs are supported.
On Wednesday, 12 March 2014 19:02:39 UTC, Thomas Kennedy wrote:
Hi,
Is the orient PHP driver still under active development?
https://github.com/AntonTerekhov/OrientDB-PHP
Im trying to use it with 1.7rc1.
Regards,
Tom
--
---
You
Are there any other ways than bringing back the relationships from my edge
relationship and building it in Php or Node?
Suggestions welcome.. Im just looking for tips on the most efficient way
with OrientDB
On Friday, 7 March 2014 00:35:09 UTC, Thomas Kennedy wrote:
Hi,
I have a tree
Hi,
I have a tree structure in orient that I want to transform into the JSON
format like below. I am using D3.js and would like the data returned in the
correct format.
Does anybody the correct way to do this in Orient?
TIA
Tom
Orient Tree
node1
node2
node3
node4
...
.. JSON
Hi Nikolas,
Did you manage to get an example?
Regards,
Tom
On Friday, 21 February 2014 16:46:40 UTC, Nikolas wrote:
Hello,
I'm totally newbie to OrientDB and i'm playing with the time series use
case. I'don't understand how to populate a LINKMAP field with SQL to create
years[2014],
It would be great if anybody who had an example could post one here.
On Sunday, 2 March 2014 21:25:30 UTC, Thomas Kennedy wrote:
Hi Nikolas,
Did you manage to get an example?
Regards,
Tom
On Friday, 21 February 2014 16:46:40 UTC, Nikolas wrote:
Hello,
I'm totally newbie to OrientDB
Hi,
I am using the 1.7-rc1 version and have attempted to access an element on
JSON object that is returned and receive a blank value. I execute the code
on the studio thru the function section.
var test = db.query(select from OUser);
var thename = test[0][name];
//also tried this
//var
, Luigi Dell'Aquila wrote:
Hi Thomas,
test[0] is actually an ODocument (a Java object).
Just try this:
test[0].field(name)
Luigi
2014-02-19 3:23 GMT+01:00 Thomas Kennedy tomais@gmail.comjavascript:
:
Hi,
I am using the 1.7-rc1 version and have attempted to access an element
, but inside the function you are using native OrientDB API: the db
object an instance of the Java class OScriptDocumentDatabaseWrapper, that
is a wrapper of ODatabaseDocumentTx, so when you work with it you will get
Java objects.
Luigi
2014-02-19 9:32 GMT+01:00 Thomas Kennedy tomais
39 matches
Mail list logo