Skip to content

Entity name does not support 'dot'! #3531

@zurez-sgig

Description

@zurez-sgig

Issue type:

[ ] question
[ x] bug report
[ ] feature request
[ ] documentation issue

Database system/driver:

[ ] cordova
[ ] mongodb
[ x] mssql
[ ] mysql / mariadb
[ ] oracle
[ ] postgres
[ ] sqlite
[ ] sqljs
[ ] react-native
[ ] expo

TypeORM version:

[ ] latest
[ ] @next
[x ] 0.2.12 (or put your version here)

Steps to reproduce or a small repository showing the problem:
Create an entity for a table which has dot in its name. Eg: 'foo.bar'
@Entity({ name:'foo.bar', schema:'dbo' }) class FooBar{ @PrimaryColumn() id:number }
Do a find operation.

Results in **QueryFailedError: Error: Invalid object name **

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions