Skip to content
#

sqlx

Here are 135 public repositories matching this topic...

sea-orm
billy1624
billy1624 commented May 13, 2022

Motivation

The sea-orm-cli generate entity command doesn't show its progress such as which entity (db table) it's generating. Some time when it fail, user have no idea which db table is at fault and making it hard to debug.

Proposed Solutions

  • Display the progress when running the command and show info such as the table name and the specification of table columns that it's curren
good first issue
rahulrumalla
rahulrumalla commented Feb 9, 2018

Currently, null values from the query results do not map and rather error out when trying to map to a struct's value type field. This however works if the target field is a pointer.

If the resulting value is null and the target is a value type field, resort to the default value
i.e., if the record 1, John, doe, john@doe.com, null is being mapped to the following struct

type struct Us

Improve this page

Add a description, image, and links to the sqlx topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the sqlx topic, visit your repo's landing page and select "manage topics."

Learn more