Create a new SQL identifier using an unqualified name. Use this method to construct syntax-safe, SQL-injection-safe SQL identifiers for use in plain SQL where QueryPart objects are accepted. For instance, this can be used with any of these methods: #field(Name) <li
(@Stringly.Name String unqualifiedName)
| 13869 | * @return A {@link QueryPart} that will render the SQL identifier |
| 13870 | */ |
| 13871 | @NotNull |
| 13872 | @Support |
| 13873 | public static Name name(@Stringly.Name String unqualifiedName) { |
| 13874 | return new UnqualifiedName(unqualifiedName); |
| 13875 | } |
| 13876 | |
| 13877 | /** |
| 13878 | * Create a new SQL identifier using a qualified name. |
no test coverage detected