code: function(params, cb) {
  		var res = 0;
  		// CREATE VERTEX without parameters
  		var db = alasql.databases[dbid];
  		var edge = {$id: db.counter++, $node: 'EDGE'};
  		var v1 = fromfn(params, alasql);
  		var v2 = tofn(params, alasql);
  		// Set link
  		edge.$in = [v1.$id];
  		edge.$out = [v2.$id];
  		// Set sides
  		if (typeof v1.$out === 'undefined') {
  			v1.$out = [];
  		}
  		v1.$out.push(edge.$id);
  
  		if (typeof v2.$in === 'undefined') {
  			v2.$in = [];
  		}
  		v2.$in.push(edge.$id);
  		// Save in objects
  		db.objects[edge.$id] = edge;
  		res = edge;
  		if (namefn) {
  			namefn(edge);
  		}
  		if (setfn) {
  			setfn(edge, params, alasql);
  		}
  
  		if (cb) {
  			res = cb(res);
  		}
  		return res;
  	}
docs: Todo: handle content, select and default /*/*
  else if(this.content) {
  
  } else if(this.select) {
  
  } else {
  
  }