Skip to content
🚀 This documentation is for unreal-orm 1.0.0 alpha which requires SurrealDB 2.0 alpha SDK. For the stable version, see npm.

extractTableName

extractTableName(ql): string | undefined

Defined in: schema/ast/parser.ts:250

Extracts the table name from a DEFINE FIELD or DEFINE INDEX statement.

string

The raw SurrealQL statement

string | undefined

The table name or undefined