Beispiel #1
0
        public void TestConditionLimit()
        {
            var sqlRaw = "select * from test";
            var nsql   = new NSQLQuery(sqlRaw);

            nsql.Limit(100);

            var expected = "select * from test LIMIT 100";

            Assert.AreEqual(expected, nsql.ToSql(), true);
        }