Leaving the parenthesis the command works. :)

On Monday, February 23, 2015 at 2:42:07 PM UTC+1, Máté Gábri wrote:
>
> Hi,
>
> following the documentation I'm trying to copy a Vertex to another Class 
> but I'm getting the following error:
>  
>
> Cannot find a command executor for the command request: sql.(SELECT 
> original, thumbnail, path, basename, cover, #11:0 AS User, sysdate() AS 
> createdAt FROM Photo WHERE @rid = #12:0)
>
>
> The original command is this:
>
> INSERT INTO ArchivedPhoto FROM (SELECT original, thumbnail, path, basename
> , cover, #11:0 AS User, sysdate() AS createdAt FROM Photo WHERE @rid = 
> #12:0)
>
> I'm running 2.0.3. 
>
> May I ask for some guidance what I'm doing wrong here?
>
> Best regards,
> Mate
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to