code: func (q *ScriptQuery) Source() (interface{}, error) {
  	if q.script == nil {
  		return nil, errors.New("ScriptQuery expected a script")
  	}
  	source := make(map[string]interface{})
  	params := make(map[string]interface{})
  	source["script"] = params
  
  	src, err := q.script.Source()
  	if err != nil {
  		return nil, err
  	}
  	params["script"] = src
  
  	if q.queryName != "" {
  		params["_name"] = q.queryName
  	}
  	return source, nil
  }
docs: // Source returns JSON for the query.