Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Additional details on "Fetching in Python" are available in this C3.ai Developer Documentation: https://developer.c3.ai/docs/7.12.0/topic/ds-jupyter-notebooks

Additional examples of fetch calls can be found in our examples here:

The fetchCount Method

Another useful fetch command is fetchCount. This function is nearly identical to the fetch commands above, but it just returns a count of the number of objects records which match the fetch filter. This is useful when trying to determine whether a given search is refined enough.In the Javascript Console this is:

Code Block
BlockInfo.fetchCount({'filter': 'exists(prp_bf_lr)'})

...