nestjs-query
nestjs-query copied to clipboard
Do the QueryService mutations save when used directly?
When creating a custom query service, if I call this.createOne
does it save the entity also? or solely create the entity?
Your custom query service should also extend for example the TypOrmQueryService
, if you look at that createOne
method you see it indeeds creates the record.