You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(docs): update documentation for PostgREST (#339)
* code format
* chore: update postgrest documentation
* test: add test for query with nil value
* revert: removal of returning param was breaking change
/// - params: The parameters to pass to the function call.
127
-
/// - count: Count algorithm to use to count rows returned by the function.
128
-
/// Only applicable for set-returning functions.
129
-
/// - Returns: A PostgrestFilterBuilder instance.
130
-
/// - Throws: An error if the function call fails.
126
+
/// - count: Count algorithm to use to count rows returned by the function. Only applicable for [set-returning functions](https://www.postgresql.org/docs/current/functions-srf.html).
131
127
publicfunc rpc(
132
128
_ fn:String,
133
129
params:someEncodable&Sendable,
@@ -139,13 +135,10 @@ public final class PostgrestClient: Sendable {
139
135
).rpc(params: params, count: count)
140
136
}
141
137
142
-
/// Performs a function call.
138
+
/// Perform a function call.
143
139
/// - Parameters:
144
140
/// - fn: The function name to call.
145
-
/// - count: Count algorithm to use to count rows returned by the function.
146
-
/// Only applicable for set-returning functions.
147
-
/// - Returns: A PostgrestFilterBuilder instance.
148
-
/// - Throws: An error if the function call fails.
141
+
/// - count: Count algorithm to use to count rows returned by the function. Only applicable for [set-returning functions](https://www.postgresql.org/docs/current/functions-srf.html).
0 commit comments