ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / Big Data / Managing REDIS databases
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
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help