Create a SQL identifier (table/column name) that will be escaped by Knex using ??.
The escaping is delegated to Knex which will handle it based on the database type.
identifier('users') // Will be escaped as "users" in PostgreSQL identifier('my"table') // Will be escaped as "my""table" in PostgreSQL identifier('column"; DROP TABLE users; --') // Will be safely escaped
Create a SQL identifier (table/column name) that will be escaped by Knex using ??. The escaping is delegated to Knex which will handle it based on the database type.