redis_close()

Read(301) Label: close, redis database,

Description:

  Close a Redis database connection.

Syntax:

  redis_close(con)

Note:

  This external library function disconnects from a Redis database.

Parameters:

con

Database connection string

Return value:

  No return value

Example:

 

A

1

=redis("192.168.18.131:6379","runqian")

2

=redis_close(A1)

Related functions:

redis()