NReJSON/DatabaseExtensions.cs
/// <summary>
/// `JSON.QGET`
/// 
/// Query a JSON index for an existing object.
/// 
/// RedisJson documentation link forthcoming.
/// </summary>
/// <param name="db"></param>
/// <param name="index">Name of the index.</param>
/// <param name="query">Pattern being applied to the index.</param>
/// <param name="path">[Optional] Path to the expected value.</param>
/// <typeparam name="TResult"></typeparam>
/// <returns></returns>


Query a JSON index for an existing object.

RedisJson documentation link forthcoming.
Query a JSON index for an existing object . RedisJson documentation link forthcoming .
public static IndexedCollection<TResult> JsonIndexGet<TResult>(this IDatabase db, string index, string query, string path = "")
        {
            var result = db.JsonIndexGet(index, query, path);
            var serializedResult = SerializerProxy.Deserialize<IDictionary<string, IEnumerable<TResult>>>(result);
            return new IndexedCollection<TResult>(serializedResult);
        }
public static IndexedCollection < TResult > JsonIndexGet < TResult > ( this IDatabase db , string index , string query , string path = " " ) { var result = db . JsonIndexGet ( index , query , path ) ; var serializedResult = SerializerProxy . Deserialize < IDictionary < string , IEnumerable < TResult > > > ( result ) ; return new IndexedCollection < TResult > ( serializedResult ) ; }
`JSON.QGET`
` JSON . QGET `
None
IDatabase
this
index
string
Name of the index.
Name of the index .
query
string
Pattern being applied to the index.
Pattern being applied to the index .
path
string
[Optional] Path to the expected value.
[ Optional ] Path to the expected value .
db
None
typeparam
None