Hello everyone , i want solution on this error , which is getting at the 
time of executing function . 


code of function is : 

 

//create a set of members 
// prefix = name prefix 
// n is the no of members i want to create 


for(var i=0 ;i < n ; i++){
  
 var name=prefix+ "_" + i;
  var member={
    "@class":"Member",
    "name" : name 
    
  };
  
  var result=gdb.save(member);
 
 
}
gdb.commit();
return n;




i am giving parameter mahesh  it gives error msg on execution time as


Erroronparsingscriptatposition#0: ErroronexecutionofthescriptScript: 
createMember------^sun.org.mozilla.javascript.internal.EcmaError: 
ReferenceError: 
"gdb"isnotdefined.(<Unknownsource>#16)in<Unknownsource>atlinenumber16ReferenceError:
 
"gdb"isnotdefined.(<Unknownsource>#16)

-- 

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