[OT] Idea to get all columns from multiple tables in DB

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Wed Jan 8 11:02:04 UTC 2020

On Wednesday, 8 January 2020 at 07:19:07 UTC, Jacob Carlborg 
> Instead of using "*" it enumerates all columns of, in your 
> case, User. It will inspect User to figure out all the column 
> names. You can easily do the same thing in D by inspecting the 
> fields on User.

This is also true for php doctrine orm and java hibernate orm, in 
basic cases. Both of them also add custom sql language that is 
working directly with objects in your application. Closest 
analogy in D is hibernated library. Maybe it is also worth trying 
it to get ideas on how best to map db results into an object 

Best regards,

More information about the Digitalmars-d mailing list