Using scope vars in segment sql queries


I realized that scope variables ($…) can conveniently be used in segments when using the SIMPLE mode.

Is there a way to use them with the QUERY mode as well?

Best regards,

CTO @ homeloop

Hi @arthur.derouge :wave:

There is currently no way to make it work with QUERY segment. Let me push this to our product board.

Thanks for your feedback :pray:


Is it possible to use scope on API chart ? By the user context or something else ?



Hi @Lucas_Yver,

Welcome to the ForestAdmin community and thank you for sharing your need with us.

Could you please provide a bit more context on the content of your API chart? Are you querying an external API or just crafting request with an ORM? Is your project on forest-express-sequelize, forest-express-mongoose,forest-rails?

Thank you

1 Like