search

Home  >  Q&A  >  body text

PDO columnCount function

Is it possible to use the columnCount function to calculate the number of returned results? This function directly returns the number of query result columns. If not, it returns 0

**军**军1963 days ago1136

reply all(2)I'll reply

  • 楊

    2019-07-09 10:47:39

    Just use count() directly

    reply
    0
  • **军

    It’s not a framework, it’s encapsulated by itself

    **军 · 2019-07-09 11:17:34
  • Cancelreply