=========================================================================== Model creation. =========================================================================== Model creates and returns a new ORM model from given schema. The parameter `table` can be more than one table names, and also alias
(tableNameOrStruct ...any)
| 44 | // 2. Model name with alias: Model("user", "u") |
| 45 | // Also see Core.Model. |
| 46 | Model(tableNameOrStruct ...any) *Model |
| 47 | |
| 48 | // Raw creates and returns a model based on a raw sql not a table. |
| 49 | Raw(rawSql string, args ...any) *Model |
no outgoing calls