Ejemplo n.º 1
0
        public async Task <IActionResult> query0()
        {
            bs.dbQuery("test", "hika0", "select * from hika00 where title in(@title:hika00.title@,@title:hika00.title@)");
            var r = bs.dbResult <List <object[]> >();
            await bs.dbAsync(false, "test", async(db) => {
                r = await db.selectAsync <List <object[]> >("hika0", "title", "hika");
                return(true);
            });

            return(Json(new { r = r }));
        }