4 ms·
resp = ( await DepartmentQuery([1,2]) .edge("employees") .project(["name", "start_date", ":id"]) .to_json() ) https://github.com/adsh
by adsharma 5y ago
resp = (
await DepartmentQuery([1,2])
.edge("employees")
.project(["name", "start_date", ":id"])
.to_json()
)
https://github.com/adsharma/fquery/ https://github.com/adsharma/fquery/ https://adsharma.github.io/fquery/ https://adsharma.github.io/fquery/
- adsharma 5y agoAlso exposes the underlying dataclasses as graphql types and capable of converting them to django models via decorators. I've tested that basic migrations work. The schema export as json in the original article can be used to generate the schema for fquery.