search

Home  >  Q&A  >  body text

Why don’t I put the null returned by id in my find? It’s not the first one by default.

$res = Db::table('user') ->field('id,name,age') ->find();

返回null

南方有桥木南方有桥木1809 days ago1322

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2019-12-21 19:56:26

    Print sql and run it in the database management tool and you will know

    reply
    0
  • Cancelreply