Closed danpozmanter closed 4 years ago
Ah yes I've seen these. I'm not yet familiar enough with Nim to offer up a PR, apologies. But I can say being able to show usage with async (with both the api and the dsl) would be great. If it was straightforward to do so I would add the examples and documentation myself.
Welcome to Nim then!. API is basically 9 templates, very KISS, crazy fast too, take your time to explore. :)
Is it just templates? Do you need the DSL to query? Is there a way to know what is returned when calling async, and how to use it, other than looking through the source code?
Both true, DSL are templates, macros.expandMacros
can help you understand.
Documentation has all the argument types and all the return types, with few examples.
Feel free to pull request more examples or more documentation!. :)
Using Gatabase in an async CRUD application would be delightful.
It'd be good to have documentation detailing how to use Gatabase in the context of a web server with async endpoints.