Skip to content

Commit 99f4f09

Browse files
committed
chore(result): update result to have default values
1 parent 404ce4d commit 99f4f09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/exqlite/result.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ defmodule Exqlite.Result do
66
num_rows: integer
77
}
88

9-
defstruct command: nil, columns: nil, rows: nil, num_rows: nil
9+
defstruct command: nil, columns: [], rows: [], num_rows: 0
1010
end

0 commit comments

Comments
 (0)