Skip to content

Commit

Permalink
update default execute rows (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
wirekang authored Feb 12, 2024
1 parent 883ebef commit 1ec3c76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/utility/playground-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ let $playground: {
* Set the result of \`execute()\`.
*
* default:
* \`{ rows: [] }\`
* \`{ rows: [{}] }\`
*/
result: import("kysely").QueryResult<any>;
Expand Down
2 changes: 1 addition & 1 deletion src/public/playground.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,5 @@ function playgroundResult(): QueryResult<any> {
if (interceptor?.result) {
return interceptor.result;
}
return { rows: [] };
return { rows: [{}] };
}

0 comments on commit 1ec3c76

Please sign in to comment.