Frontend API, Data querying in custom plugin #11567
grafzahl-io
started this conversation in
Contribute
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
we are considering budibase for a new project and need to develop some custom
plugins.
In my first test, I build some queries with sdk frontend api (
const { API } = getContext("sdk")
).For a simple load of meta data it worked very well like this:
But when it comes to filter by a foreign key relation, it is not as intuitiv as expected.
And until now I could not find any reference or help within the docs or source code.
Can anybody help me to filter a table by a foreign key? I already tried a few things in combination of the
below code (combining different conditions and structure of the fields.
video
in this case, is the uuid of the foreign table:The first query returns all entries, the second zero.
Beta Was this translation helpful? Give feedback.
All reactions