Nivruth
Nivruth
@shubhamp-sf , getting this error in spite of adding primaryKey: true. any idea? _Error: A column called 'id' was added to the attributes of 'main' but not marked with 'primaryKey:...
Is [this](https://github.com/nivruth-naka/lb-include/blob/main/src/models/main.model.ts#L9) the correct way to add?
thanks @shubhamp-sf . now seeing _Error: SequelizeConnectionRefusedError: connect ECONNREFUSED 127.0.0.1:5432_ how does datasource setup connection? is it different from default juggler? I don't have 127.0.0.1:5432 in my code, so unsure...
We are actually [reading](https://github.com/nivruth-naka/lb-include/blob/main/src/application.ts#L30) this from a .env file, this process works fine if I revert Sequelize changes back to Juggler but somehow Sequelize datasource is looking for something else.
@shubhamp-sf, in that case it looks like it's defaulting to postgres local credentials, would be good to throw an error right away. if possible, could you please point me to...
@shubhamp-sf , seeing _status code 500. Error: SequelizeDatabaseError: operator does not exist: jsonb ~~* unknown_ does this work for postgres jsonb columns as well? if yes, please suggest how to...
My use case is basically to include some strings and do a case insensitive search within a `jsonb` column. The above filter (without required = true) works in Loopback /...
Thanks @shubhamp-sf ! yes, it is postgres specific but a widely used column type and the current default implementation of Loopback (with Juggler) supports this type of querying.
Thanks @yhrchan , great catch! I'll try this out shortly from my end to see if this helps. However, one thing to keep in mind is this nested format you...