Files
morm/src
Tomasz Sowa 6619f3ecb5 fix: correctly use a table name when using Finder::use_table_prefix(true)
We cannot use aliases in the form of "tablename"."fieldname" - now it was
changed to "tablename.fieldname".

Sample how to get the id field, assuming the table name is 'mymodel'.
mymodel = finder2.
          select(morm::Select::no_auto_generated_columns).
          use_table_prefix(true).
          raw("SELECT id AS \"mymodel.id\"").
          raw("FROM mymodel").
          raw("WHERE id = 25").
          get();

In addition, there was an error that the table name was not correctly set
for the first object in the hierarchy - it was empty, e.g. ""."field_name"
2023-07-15 03:08:02 +02:00
..
2018-03-23 19:26:57 +00:00
2022-06-26 06:15:19 +02:00
2021-05-20 16:25:01 +02:00
2023-02-26 22:19:46 +01:00
2023-02-28 03:37:20 +01:00
2023-02-26 22:19:46 +01:00