Skip to content

Commit

Permalink
chore(result): update result to have default values
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriid committed Feb 20, 2021
1 parent 404ce4d commit 99f4f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/exqlite/result.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ defmodule Exqlite.Result do
num_rows: integer
}

defstruct command: nil, columns: nil, rows: nil, num_rows: nil
defstruct command: nil, columns: [], rows: [], num_rows: 0
end

0 comments on commit 99f4f09

Please sign in to comment.