GoLang Constants and Literals | GoLang Tutorial

5 years ago Lalit Bhagtani 0
In this tutorial, we will learn about constants and literals in Go programming language. GoLang Constants A Constant is a variable, whose value cannot be changed once assigned. In other words, Constant variable is immutable in nature. In GoLang, Constant variable can be of type string, boolean and numeric ( integer, floating-point, complex ). A Read More

GoLang Data Types String, Boolean, Numeric | GoLang Tutorial

5 years ago Lalit Bhagtani 0
In this tutorial, we will learn about primitive data types in Go programming language. A data type represents the type of a value that can be stored in a variable or constant. Go programming language supports three different types of primitive data types. Golang data types are as follows :-  Boolean Type String Type Numeric Read More

Redis ZLEXCOUNT – How to get number of elements in sorted set by value range

5 years ago Lalit Bhagtani 0
In this tutorial, we will learn about how to get the number of elements of the sorted set value having values between a specific range. For this, we will use Redis ZLEXCOUNT command. ZLEXCOUNT Command This command returns the number of elements of the sorted set value, whose values (string representation of element) are between min Read More

Redis ZREMRANGEBYLEX – How to remove elements of sorted set by value range

5 years ago Lalit Bhagtani 0
In this tutorial, we will learn about how to remove elements of the sorted set value having values between a specific range. For this, we will use Redis ZREMRANGEBYLEX command. ZREMRANGEBYLEX Command This command removes all the elements of the sorted set value, whose values (string representation of element) are between min and max arguments. Here all Read More

Redis ZREVRANGEBYLEX – How to get elements of sorted set by desc value range

5 years ago Lalit Bhagtani 0
In this tutorial, we will learn about how to get all the elements of the sorted set value having values between a specific range and in descending lexicographical order. For this, we will use Redis ZREVRANGEBYLEX command. ZREVRANGEBYLEX Command This command returns all the elements of the sorted set value stored at a specified key, with Read More

Redis ZRANGEBYLEX – How to get elements of sorted set by asc value range

5 years ago Lalit Bhagtani 0
In this tutorial, we will learn about how to get all the elements of the sorted set value having values between a specific range and in ascending lexicographical order. For this, we will use Redis ZRANGEBYLEX command. ZRANGEBYLEX Command This command returns all the elements of the sorted set value stored at a specified key, with Read More

Redis ZREMRANGEBYRANK – How to remove elements of sorted set by rank range

5 years ago Lalit Bhagtani 0
In this tutorial, we will learn about how to remove elements of the sorted set value having rank between a specific range. For this, we will use Redis ZREMRANGEBYRANK command. ZREMRANGEBYRANK Command This command remove all the elements of the sorted set value, whose ranks are between start and stop arguments. The start and stop are zero Read More

Redis ZREMRANGEBYSCORE – How to remove elements of sorted set by score range

5 years ago Lalit Bhagtani 0
In this tutorial, we will learn about how to remove elements of the sorted set value having score between a specific range. For this, we will use Redis ZREMRANGEBYSCORE command. ZREMRANGEBYSCORE Command This command remove all the elements of the sorted set value, whose score is greater than equal to min ( inclusive ) score and less Read More