AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / Big Data / Gestión de bases de datos REDIS
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Publishes a message on a Redis broadcast channel.
Example
gRedis.Publish("MyChannel", "Hello Redis from WINDEV")
Syntax
<Result> = <Connection>.Publish(<Channel> , <Message>)
<Result>: Integer
Number of applications that received the message.
Remark: This information is not available when connecting to a Redis cluster.
<Connection>: redisConnection variable
Name of the redisConnection variable that corresponds to the Redis server connection.
<Channel>: Character string
Name of the channel on which the message must be published. This string is encoded in UTF8 format.
<Message>: Character string or Buffer
Message to publish on the channel:
  • If it is a String parameter, it will be converted to UTF8 format.
  • If it is a Buffer parameter, it will be sent in binary format.
Business / UI classification: Business Logic
Component: wd290big.dll
Versión mínima requerida
  • Versión 26
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/06/2023

Señalar un error o enviar una sugerencia | Ayuda local