pgrx_sql_entity_graph/metadata/mod.rs
1//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC.
2//LICENSE
3//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc.
4//LICENSE
5//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. <contact@pgcentral.org>
6//LICENSE
7//LICENSE All rights reserved.
8//LICENSE
9//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.
10/*!
11
12Function and type level metadata for Rust to SQL translation
13
14> Like all of the [`sql_entity_graph`][crate] APIs, this is considered **internal**
15> to the `pgrx` framework and very subject to change between versions. While you may use this, please do it with caution.
16
17
18*/
19
20mod entity;
21mod function_metadata;
22mod return_variant;
23mod sql_translatable;
24
25pub use entity::{FunctionMetadataEntity, FunctionMetadataTypeEntity};
26pub use function_metadata::FunctionMetadata;
27pub use return_variant::{Returns, ReturnsError};
28pub use sql_translatable::{ArgumentError, SqlMapping, SqlTranslatable};