code: func Ginqueryarrayextract(db XODB, v0 pgtypes.Anyarray, v1 pgtypes.Internal, v2 int16, v3 pgtypes.Internal, v4 pgtypes.Internal, v5 pgtypes.Internal, v6 pgtypes.Internal) (pgtypes.Internal, error) {
  	var err error
  
  	// sql query
  	const sqlstr = `SELECT pg_catalog.ginqueryarrayextract($1, $2, $3, $4, $5, $6, $7)`
  
  	// run query
  	var ret pgtypes.Internal
  	XOLog(sqlstr, v0, v1, v2, v3, v4, v5, v6)
  	err = db.QueryRow(sqlstr, v0, v1, v2, v3, v4, v5, v6).Scan(&ret)
  	if err != nil {
  		return pgtypes.Internal{}, err
  	}
  
  	return ret, nil
  }
docs: // Ginqueryarrayextract calls the stored procedure 'pg_catalog.ginqueryarrayextract(anyarray, internal, smallint, internal, internal, internal, internal) internal' on db.