How to count row with a specific value in Editor ?

How to count row with a specific value in Editor ?

dgillierdgillier Posts: 3Questions: 2Answers: 0

Hello,

I'm trying a send to datatable/editor a pseudo field (not present in the DB) with the count of occurence in a joint table .
Seems that we cannot using SQL query ?
Anyway to do that ?

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @dgillier,

    Provided the returned data is in the format expect by Editor, you can get fields from any source. There's some example that may be helpful for you, this one and perhaps this one.

    Hope that helps,

    Cheers,

    Colin

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    Just to add to what Colin has said - it is possible to use an SQL function in the PHP, .NET and Node libraries for Editor, but I'm not clear if that is what you need or not. Perhaps you can explain more fully what you are looking to do please?

    Allan

This discussion has been closed.