extractTableName
extractTableName(
ql):string|undefined
Defined in: schema/ast/parser.ts:250
Extracts the table name from a DEFINE FIELD or DEFINE INDEX statement.
Parameters
Section titled “Parameters”string
The raw SurrealQL statement
Returns
Section titled “Returns”string | undefined
The table name or undefined