Skip to content

Commit 6aa2244

Browse files
Fix user defined action example (timescale#2422)
Co-authored-by: Lana Brindley <[email protected]>
1 parent 570fa75 commit 6aa2244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

use-timescale/user-defined-actions/about-user-defined-actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ within a database.
4343
Use this code to create the function:
4444

4545
```sql
46-
CREATE FUNCTION totalRecords ()
46+
CREATE FUNCTION totalRecords (job_id INT DEFAULT NULL, config JSONB DEFAULT NULL)
4747
RETURNS integer AS $total$
4848
declare
4949
total integer;

0 commit comments

Comments
 (0)