Hi there,

Been looking at 
http://www.orientechnologies.com/docs/last/orientdb-etl.wiki/Import-from-DBMS.html
 
recently and wondered if it is possible to rename a field as part of the 
process?

Tried using "select as" but it didn't make a difference to the resulting 
property name.

{
    "extractor": {
        "jdbc": {
            ...
            "query": "SELECT taskid as id, parent_id FROM task"
        }
    },
    "transformers": [
        {"vertex": {"class": "Context"}},
        {
            "edge": {
                "class": "parent",
                "joinFieldName": "parent_id",
                "lookup": "Context.id"
            }
        }
    ],
    ...
}

Perhaps there is a transformer that can be used?

cheers,


Martin

-- 

--- 
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