Deveel.Data.AggregateFunctionTests.Count_Column C# (CSharp) Method

Count_Column() private method

private Count_Column ( ) : void
return void
        public void Count_Column()
        {
            var result = SelectAggregate("COUNT", SqlExpression.Reference(new ObjectName("a")));
            Assert.IsNotNull(result);
            Assert.IsFalse(result.IsNull);
            Assert.IsInstanceOf<NumericType>(result.Type);
            Assert.IsInstanceOf<SqlNumber>(result.Value);

            var value = (SqlNumber)result.Value;
        }