Open imperfect-fourth opened 2 months ago
Example:
type testAction struct { Name string `json:"name"` ID *int `json:"id,omitempty"` } func (a testAction) ModelName() string { return "test_action" } ... q := Action[testAction]().QueryArgs( map[string]interface{}{ "arg1": 4, "arg2": "value", "arg3": eywa.HasuraEnum("enumvalue"), }, ).Select("name").Exec(client)
Example: