public class PostgresTypes extends Object
pg_type.| Modifier and Type | Class and Description |
|---|---|
static class |
PostgresTypes.PostgresType |
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_SUCH_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static PostgresTypes |
from(PostgresqlConnection connection) |
Mono<PostgresTypes.PostgresType> |
lookupType(String typeName)
Lookup Postgres types by
typname. |
Flux<PostgresTypes.PostgresType> |
lookupTypes(Iterable<String> typeNames) |
public static final int NO_SUCH_TYPE
public static PostgresTypes from(PostgresqlConnection connection)
public Mono<PostgresTypes.PostgresType> lookupType(String typeName)
typname. Please note that typname inlined to use simple statements. Therefore, typname gets verified against TYPENAME to prevent SQL
injection.typeName - the type name. Must comply with the pattern [a-zA-Z0-9_]+PostgresTypes.PostgresType if found or Mono.empty() if not foundpublic Flux<PostgresTypes.PostgresType> lookupTypes(Iterable<String> typeNames)
Copyright © 2024. All rights reserved.