code: function findVertex(name) {
  		var objects = alasql.databases[alasql.useid].objects;
  		for (var k in objects) {
  			if (objects[k].name === name) {
  				return objects[k];
  			}
  		}
  		return undefined;
  	}
docs: Find vertex by name