• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

Questions about API

shaowenqian666

Chevereto Member
I already know that "CHV\getSetting('api_v1_key')" gets the "setting ﹣ value" data value in the database. I want to know how it works, because I want to get other data in "users".
 
CHV\getSetting
That function is used to retrieve a configuration value, you can't use this function to retrieve something else as it only provides access to settings.

If you want to query the database you should use $db = CHV\DB::getInstance(); which will allow you to interact directly with the database.
 
Back
Top