MySQL 9.4.0
Source Code Documentation
i_s.h
Go to the documentation of this file.
1#pragma once
2
3/* Copyright (c) 2024, 2025, Oracle and/or its affiliates.
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License, version 2.0,
7 as published by the Free Software Foundation.
8
9 This program is designed to work with certain software (including
10 but not limited to OpenSSL) that is licensed under separate terms,
11 as designated in a particular file or component or in included license
12 documentation. The authors of MySQL hereby grant you an additional
13 permission to link the program and your derivative works with the
14 separately licensed software that they have either included with
15 the program or referenced in the documentation.
16
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License, version 2.0, for more details.
21
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software
24 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
25
26class String;
27
28namespace jdv {
29class Content_tree_node;
30/**
31 Get the requested properies for the JSON duality view represented by the
32 submitted content tree root. The i_s_view_name will imply which properties
33 are requested. The properties are filled into a JSON document which is
34 serialized into a string returned to the UDF invoked from the view,
35 and is used there to join with the JSON duality view name retrieved from
36 the DD tables.
37
38 * @param root Content tree root.
39 * @param i_s_view_name Name of the I_S view.
40 * @param properties String containing the requested properties.
41 */
42void get_i_s_properties(Content_tree_node *root, const char *i_s_view_name,
43 String *properties);
44} // namespace jdv
Using this class is fraught with peril, and you need to be very careful when doing so.
Definition: sql_string.h:169
Definition: content_tree.cc:39
void get_i_s_properties(Content_tree_node *root, const char *i_s_view_name, String *properties)
Get the requested properies for the JSON duality view represented by the submitted content tree root.
Definition: i_s.cc:319