search

Home  >  Q&A  >  body text

An error message is displayed when dump(Db::query('SELECT * FROM `user`'));.

When writing code, be reminded that no data sources are configured to run this sql. When running, it prompts Array to string conversion

1876 days ago1369

reply all(2)I'll reply

  • A峰

    A峰2019-12-03 17:19:26

    It should be that the database connection is not configured

    reply
    0
  • 今晚要回家

    今晚要回家2019-11-25 19:29:40

    < style="margin: 0px; padding: 0px; font-weight: 400; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 18px; color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, "PingFang SC", 微软雅黑, Tahoma, Arial, sans-serif; white-space: normal;">`user`')??


    reply
    0
  • Cancelreply