ServerArgs constructor
Creates a new ServerArgs.
dropCascade When true, will drop objects that depend on the server (such as user mappings), and in turn all objects that depend on those objects . (Default: false)
fdwName The name of the foreign-data wrapper that manages the server.
options This clause specifies the options for the server. The options typically define the connection details of the server, but the actual names and values are dependent on the server's foreign-data wrapper.
serverName The name of the foreign server to be created.
serverOwner By default, the user who defines the server becomes its owner. Set this value to configure the new owner of the foreign server.
serverType Optional server type, potentially useful to foreign-data wrappers.
serverVersion Optional server version, potentially useful to foreign-data wrappers.
Implementation
const ServerArgs({
this.dropCascade,
required this.fdwName,
this.options,
required this.serverName,
this.serverOwner,
this.serverType,
this.serverVersion,
});