@devbro/neko-sql 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist/Blueprint.mjs +12 -1
  2. package/dist/Blueprint.mjs.map +1 -1
  3. package/dist/Connection.mjs +5 -0
  4. package/dist/Connection.mjs.map +1 -1
  5. package/dist/Expression.mjs +5 -0
  6. package/dist/Expression.mjs.map +1 -1
  7. package/dist/Migration.mjs +5 -0
  8. package/dist/Migration.mjs.map +1 -1
  9. package/dist/Query.mjs +5 -0
  10. package/dist/Query.mjs.map +1 -1
  11. package/dist/QueryGrammar.mjs +6 -0
  12. package/dist/QueryGrammar.mjs.map +1 -1
  13. package/dist/Schema.mjs +7 -2
  14. package/dist/Schema.mjs.map +1 -1
  15. package/dist/SchemaGrammar.mjs +6 -1
  16. package/dist/SchemaGrammar.mjs.map +1 -1
  17. package/dist/databases/index.mjs +1 -1
  18. package/dist/databases/index.mjs.map +1 -1
  19. package/dist/databases/postgresql/PostgresqlConnection.mjs +10 -5
  20. package/dist/databases/postgresql/PostgresqlConnection.mjs.map +1 -1
  21. package/dist/databases/postgresql/PostgresqlQueryGrammar.mjs +6 -1
  22. package/dist/databases/postgresql/PostgresqlQueryGrammar.mjs.map +1 -1
  23. package/dist/databases/postgresql/PostgresqlSchemaGrammar.mjs +6 -1
  24. package/dist/databases/postgresql/PostgresqlSchemaGrammar.mjs.map +1 -1
  25. package/dist/databases/postgresql/index.mjs +3 -3
  26. package/dist/databases/postgresql/index.mjs.map +1 -1
  27. package/dist/index.js +929 -19
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.mjs +9 -9
  30. package/dist/index.mjs.map +1 -1
  31. package/package.json +6 -6
  32. package/dist/Blueprint.d.ts +0 -57
  33. package/dist/Blueprint.js +0 -169
  34. package/dist/Blueprint.js.map +0 -1
  35. package/dist/Connection-DklX9Kzq.d.ts +0 -106
  36. package/dist/Connection.d.ts +0 -4
  37. package/dist/Connection.js +0 -30
  38. package/dist/Connection.js.map +0 -1
  39. package/dist/Expression.d.ts +0 -1
  40. package/dist/Expression.js +0 -37
  41. package/dist/Expression.js.map +0 -1
  42. package/dist/Migration.d.ts +0 -11
  43. package/dist/Migration.js +0 -30
  44. package/dist/Migration.js.map +0 -1
  45. package/dist/Query.d.ts +0 -4
  46. package/dist/Query.js +0 -171
  47. package/dist/Query.js.map +0 -1
  48. package/dist/QueryGrammar.d.ts +0 -4
  49. package/dist/QueryGrammar.js +0 -260
  50. package/dist/QueryGrammar.js.map +0 -1
  51. package/dist/Schema.d.ts +0 -4
  52. package/dist/Schema.js +0 -70
  53. package/dist/Schema.js.map +0 -1
  54. package/dist/SchemaGrammar.d.ts +0 -20
  55. package/dist/SchemaGrammar.js +0 -174
  56. package/dist/SchemaGrammar.js.map +0 -1
  57. package/dist/databases/index.d.ts +0 -8
  58. package/dist/databases/index.js +0 -23
  59. package/dist/databases/index.js.map +0 -1
  60. package/dist/databases/postgresql/PostgresqlConnection.d.ts +0 -28
  61. package/dist/databases/postgresql/PostgresqlConnection.js +0 -114
  62. package/dist/databases/postgresql/PostgresqlConnection.js.map +0 -1
  63. package/dist/databases/postgresql/PostgresqlQueryGrammar.d.ts +0 -21
  64. package/dist/databases/postgresql/PostgresqlQueryGrammar.js +0 -69
  65. package/dist/databases/postgresql/PostgresqlQueryGrammar.js.map +0 -1
  66. package/dist/databases/postgresql/PostgresqlSchemaGrammar.d.ts +0 -8
  67. package/dist/databases/postgresql/PostgresqlSchemaGrammar.js +0 -31
  68. package/dist/databases/postgresql/PostgresqlSchemaGrammar.js.map +0 -1
  69. package/dist/databases/postgresql/index.d.ts +0 -8
  70. package/dist/databases/postgresql/index.js +0 -27
  71. package/dist/databases/postgresql/index.js.map +0 -1
  72. package/dist/index.d.ts +0 -9
  73. package/dist/types-C_aDrXJN.d.ts +0 -48
  74. package/dist/types.d.ts +0 -1
  75. package/dist/types.js +0 -17
  76. package/dist/types.js.map +0 -1
package/dist/types.js DELETED
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from === "object" || typeof from === "function") {
8
- for (let key of __getOwnPropNames(from))
9
- if (!__hasOwnProp.call(to, key) && key !== except)
10
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
- }
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
- var types_exports = {};
16
- module.exports = __toCommonJS(types_exports);
17
- //# sourceMappingURL=types.js.map
package/dist/types.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/types.ts"],"sourcesContent":["import { Expression } from './Expression';\n\nexport type selectType = string;\nexport type whereBasic = { joinCondition: JoinCondition; negateCondition: boolean };\nexport type whereOp = { type: 'operation'; column: string; operation: string; value: Parameter };\nexport type whereOpColumn = {\n type: 'operationColumn';\n column1: string;\n operation: string;\n column2: string;\n};\nexport type whereRaw = { type: 'raw'; sql: string; bindings: Parameter[] };\nexport type whereNull = { type: 'null'; column: string };\nexport type whereType = whereBasic & (whereOp | whereOpColumn | whereNull);\n\nexport type Parameter = string | number | Date | boolean | null | Expression | undefined;\nexport type JoinCondition = 'and' | 'or';\nexport type CompiledSql = { sql: string; bindings: Parameter[] };\n\nexport type havingType = whereBasic & (whereOp | whereRaw);\n\nexport type joinType = {\n type: 'inner' | 'left' | 'right' | 'full';\n table: string;\n conditions: whereType[];\n};"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}