Example #1
0
        public TypedExpression GetTypedExpression()
        {
            var itemType  = PgTypesConverter.CreatePgValueTypeFromObjectType(typeof(TValue));
            var arrayType = new KDPgValueTypeArray(itemType, typeof(TValue));

            return(new TypedExpression(GetRawQuery(), arrayType));
        }
 public static TypedExpression Cast(TypedExpression value, Type type) => Cast(value, PgTypesConverter.CreatePgValueTypeFromObjectType(type));