Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Row API #10

Closed
adamlofts opened this issue Apr 23, 2019 · 2 comments
Closed

Row API #10

adamlofts opened this issue Apr 23, 2019 · 2 comments

Comments

@adamlofts
Copy link
Owner

Row is a key class in Flutter so people get confused using a library prefix e.g. #7 #4.

  • Rename Row to something else

There is no need for row to override ListBase. Instead:

class MySqlRow {
    Map<String, Object> asMap;
    List<Object> values;
}
@adamlofts
Copy link
Owner Author

adamlofts commented Apr 24, 2020

Wikipedia calls this a Row, Tuple, or record.

image

Mysql calls it a row

image

@adamlofts
Copy link
Owner Author

Postgres prefix all their classes:

image

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

No branches or pull requests

1 participant