Open m7vicente opened 3 years ago
No test will be implemented or changed to this new scenery? If we don't pass the schema, the code will work?
The knex work with various types of DBMS, then we need to maintain the support, no?
For example, SQLite is a database without schema, this code will work?
About the @endersoncosta commentaries
1 - All the unit tests who use the runner method has been changes, the DB tests dont have changes
2 - withSchema works fine with null
and undefined
values, we maked some test with it
3 - We runned DBMS tests, we really don't make the specific tests to SQLite, but use PG and SQLServer. How I said, without the schema values, the Knex find a way.
@endersoncosta good point. I think it should have a couple of tests specific to this method
As described in issue #6 we implemented
withSchema
on construction of repository to remove string concatenation ontableQualifiedName
who no more exist in class.