Skip to content

Conversation

@tenderlove
Copy link
Member

This commit removes deprecated row array wrappers. If you want to access "types" for a particular query, then use a prepared statement.

Deprecated / removed code looks like this:

row = @db.execute("select * from foo")
assert_equal ["blob"], row.first.types

If you would like to access the "types" associated with a returned query, use a prepared statement like this:

@db.prepare("select * from foo") do |v|
  assert_equal ["blob"], v.types
end

This commit removes deprecated row array wrappers.  If you want to
access "types" for a particular query, then use a prepared statement.

Deprecated / removed code looks like this:

```ruby
row = @db.execute("select * from foo")
assert_equal ["blob"], row.first.types
```

If you would like to access the "types" associated with a returned
query, use a prepared statement like this:

```ruby
@db.prepare("select * from foo") do |v|
  assert_equal ["blob"], v.types
end

```
@tenderlove tenderlove merged commit 886438c into main Jan 10, 2024
@tenderlove tenderlove deleted the remove-types branch January 10, 2024 20:52
@tenderlove tenderlove mentioned this pull request Jan 10, 2024
19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants