Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.40 KB | None | 0 0
  1. ////////
  2. Sequelize {
  3. options:
  4. { dialect: 'postgres',
  5. dialectModulePath: null,
  6. host: 'localhost',
  7. protocol: 'tcp',
  8. define: { timestamps: true, paranoid: true },
  9. query: {},
  10. sync: {},
  11. timezone: '+00:00',
  12. logging: [Function: bound log],
  13. omitNull: false,
  14. native: false,
  15. replication: false,
  16. ssl: undefined,
  17. pool: {},
  18. quoteIdentifiers: true,
  19. hooks: {},
  20. retry: { max: 5, match: [Object] },
  21. transactionType: 'DEFERRED',
  22. isolationLevel: null,
  23. databaseVersion: '9.4.7',
  24. typeValidation: false,
  25. benchmark: false,
  26. username: 'postgres',
  27. password: 'postgres',
  28. database: 'lgt-dev' },
  29. config:
  30. { database: 'lgt-dev',
  31. username: 'postgres',
  32. password: 'postgres',
  33. host: 'localhost',
  34. port: 5432,
  35. pool: {},
  36. protocol: 'tcp',
  37. native: false,
  38. ssl: undefined,
  39. replication: false,
  40. dialectModulePath: null,
  41. keepDefaultTimezone: undefined,
  42. dialectOptions: undefined },
  43. dialect:
  44. PostgresDialect {
  45. sequelize: [Circular],
  46. connectionManager:
  47. ConnectionManager {
  48. sequelize: [Circular],
  49. config: [Object],
  50. dialect: [Circular],
  51. versionPromise: null,
  52. poolError: null,
  53. dialectName: 'postgres',
  54. onProcessExit: [Function: bound onProcessExit],
  55. pool: [Object],
  56. lib: [Object] },
  57. QueryGenerator:
  58. { options: [Object],
  59. dialect: 'postgres',
  60. setSearchPath: [Function: setSearchPath],
  61. createSchema: [Function: createSchema],
  62. dropSchema: [Function: dropSchema],
  63. showSchemasQuery: [Function: showSchemasQuery],
  64. versionQuery: [Function: versionQuery],
  65. createTableQuery: [Function: createTableQuery],
  66. dropTableQuery: [Function: dropTableQuery],
  67. showTablesQuery: [Function: showTablesQuery],
  68. describeTableQuery: [Function: describeTableQuery],
  69. checkValidJsonStatement: [Function: checkValidJsonStatement],
  70. jsonPathExtractionQuery: [Function: jsonPathExtractionQuery],
  71. handleSequelizeMethod: [Function: handleSequelizeMethod],
  72. addColumnQuery: [Function: addColumnQuery],
  73. removeColumnQuery: [Function: removeColumnQuery],
  74. changeColumnQuery: [Function: changeColumnQuery],
  75. renameColumnQuery: [Function: renameColumnQuery],
  76. fn: [Function: fn],
  77. exceptionFn: [Function: exceptionFn],
  78. upsertQuery: [Function: upsertQuery],
  79. deleteQuery: [Function: deleteQuery],
  80. showIndexesQuery: [Function: showIndexesQuery],
  81. showConstraintsQuery: [Function: showConstraintsQuery],
  82. removeIndexQuery: [Function: removeIndexQuery],
  83. addLimitAndOffset: [Function: addLimitAndOffset],
  84. attributeToSQL: [Function: attributeToSQL],
  85. deferConstraintsQuery: [Function: deferConstraintsQuery],
  86. setConstraintQuery: [Function: setConstraintQuery],
  87. setDeferredQuery: [Function: setDeferredQuery],
  88. setImmediateQuery: [Function: setImmediateQuery],
  89. attributesToSQL: [Function: attributesToSQL],
  90. findAutoIncrementField: [Function: findAutoIncrementField],
  91. createTrigger: [Function: createTrigger],
  92. dropTrigger: [Function: dropTrigger],
  93. renameTrigger: [Function: renameTrigger],
  94. createFunction: [Function: createFunction],
  95. dropFunction: [Function: dropFunction],
  96. renameFunction: [Function: renameFunction],
  97. databaseConnectionUri: [Function: databaseConnectionUri],
  98. pgEscapeAndQuote: [Function: pgEscapeAndQuote],
  99. expandFunctionParamList: [Function: expandFunctionParamList],
  100. expandOptions: [Function: expandOptions],
  101. decodeTriggerEventType: [Function: decodeTriggerEventType],
  102. triggerEventTypeIsConstraint: [Function: triggerEventTypeIsConstraint],
  103. expandTriggerEventSpec: [Function: expandTriggerEventSpec],
  104. pgEnumName: [Function: pgEnumName],
  105. pgListEnums: [Function: pgListEnums],
  106. pgEnum: [Function: pgEnum],
  107. pgEnumAdd: [Function: pgEnumAdd],
  108. pgEnumDrop: [Function: pgEnumDrop],
  109. fromArray: [Function: fromArray],
  110. padInt: [Function: padInt],
  111. dataTypeMapping: [Function: dataTypeMapping],
  112. quoteIdentifier: [Function: quoteIdentifier],
  113. getForeignKeysQuery: [Function: getForeignKeysQuery],
  114. dropForeignKeyQuery: [Function: dropForeignKeyQuery],
  115. setAutocommitQuery: [Function: setAutocommitQuery],
  116. extractTableDetails: [Function: extractTableDetails],
  117. addSchema: [Function: addSchema],
  118. renameTableQuery: [Function: renameTableQuery],
  119. insertQuery: [Function: insertQuery],
  120. bulkInsertQuery: [Function: bulkInsertQuery],
  121. updateQuery: [Function: updateQuery],
  122. arithmeticQuery: [Function: arithmeticQuery],
  123. nameIndexes: [Function: nameIndexes],
  124. addIndexQuery: [Function: addIndexQuery],
  125. addConstraintQuery: [Function: addConstraintQuery],
  126. getConstraintSnippet: [Function: getConstraintSnippet],
  127. removeConstraintQuery: [Function: removeConstraintQuery],
  128. quoteTable: [Function: quoteTable],
  129. quote: [Function: quote],
  130. quoteIdentifiers: [Function: quoteIdentifiers],
  131. escape: [Function: escape],
  132. selectQuery: [Function: selectQuery],
  133. escapeAttributes: [Function: escapeAttributes],
  134. generateInclude: [Function: generateInclude],
  135. generateJoin: [Function: generateJoin],
  136. generateThroughJoin: [Function: generateThroughJoin],
  137. getQueryOrders: [Function: getQueryOrders],
  138. selectFromTableFragment: [Function: selectFromTableFragment],
  139. setIsolationLevelQuery: [Function: setIsolationLevelQuery],
  140. generateTransactionId: [Function: generateTransactionId],
  141. startTransactionQuery: [Function: startTransactionQuery],
  142. commitTransactionQuery: [Function: commitTransactionQuery],
  143. rollbackTransactionQuery: [Function: rollbackTransactionQuery],
  144. whereQuery: [Function: whereQuery],
  145. whereItemsQuery: [Function: whereItemsQuery],
  146. whereItemQuery: [Function: whereItemQuery],
  147. getWhereConditions: [Function: getWhereConditions],
  148. parseConditionObject: [Function: parseConditionObject],
  149. isIdentifierQuoted: [Function: isIdentifierQuoted],
  150. booleanValue: [Function: booleanValue],
  151. _dialect: [Circular],
  152. sequelize: [Circular],
  153. typeValidation: undefined } },
  154. models:
  155. { Action:
  156. { [Function: Action]
  157. sequelize: [Circular],
  158. options: [Object],
  159. associations: [Object],
  160. underscored: undefined,
  161. tableName: 'Actions',
  162. _schema: null,
  163. _schemaDelimiter: '',
  164. rawAttributes: [Object],
  165. attributes: [Object],
  166. primaryKeys: [Object],
  167. _timestampAttributes: [Object],
  168. _readOnlyAttributes: [Object],
  169. _hasReadOnlyAttributes: 3,
  170. _isReadOnlyAttribute: [Object],
  171. _booleanAttributes: [],
  172. _dateAttributes: [Object],
  173. _hstoreAttributes: [],
  174. _rangeAttributes: [],
  175. _jsonAttributes: [],
  176. _geometryAttributes: [],
  177. _virtualAttributes: [],
  178. _defaultValues: [Object],
  179. fieldRawAttributesMap: [Object],
  180. fieldAttributeMap: {},
  181. uniqueKeys: {},
  182. _hasBooleanAttributes: false,
  183. _isBooleanAttribute: [Object],
  184. _hasDateAttributes: true,
  185. _isDateAttribute: [Object],
  186. _hasHstoreAttributes: false,
  187. _isHstoreAttribute: [Object],
  188. _hasRangeAttributes: false,
  189. _isRangeAttribute: [Object],
  190. _hasJsonAttributes: false,
  191. _isJsonAttribute: [Object],
  192. _hasVirtualAttributes: false,
  193. _isVirtualAttribute: [Object],
  194. _hasGeometryAttributes: false,
  195. _isGeometryAttribute: [Object],
  196. _hasDefaultValues: true,
  197. tableAttributes: [Object],
  198. primaryKeyAttributes: [Object],
  199. primaryKeyAttribute: 'id',
  200. primaryKeyField: 'id',
  201. primaryKeyCount: 1,
  202. hasPrimaryKeys: true,
  203. _hasPrimaryKeys: true,
  204. _isPrimaryKey: [Object],
  205. autoIncrementField: 'id',
  206. _scope: {},
  207. associate: [Function],
  208. assingAdminActions: [Function],
  209. initialization: [Function],
  210. deleteAction: [Function],
  211. createAction: [Function] },
  212. User:
  213. { [Function: User]
  214. sequelize: [Circular],
  215. options: [Object],
  216. associations: [Object],
  217. underscored: undefined,
  218. tableName: 'Users',
  219. _schema: null,
  220. _schemaDelimiter: '',
  221. rawAttributes: [Object],
  222. attributes: [Object],
  223. primaryKeys: [Object],
  224. _timestampAttributes: [Object],
  225. _readOnlyAttributes: [Object],
  226. _hasReadOnlyAttributes: 3,
  227. _isReadOnlyAttribute: [Object],
  228. _booleanAttributes: [Object],
  229. _dateAttributes: [Object],
  230. _hstoreAttributes: [],
  231. _rangeAttributes: [],
  232. _jsonAttributes: [],
  233. _geometryAttributes: [],
  234. _virtualAttributes: [],
  235. _defaultValues: [Object],
  236. fieldRawAttributesMap: [Object],
  237. fieldAttributeMap: {},
  238. uniqueKeys: {},
  239. _hasBooleanAttributes: true,
  240. _isBooleanAttribute: [Object],
  241. _hasDateAttributes: true,
  242. _isDateAttribute: [Object],
  243. _hasHstoreAttributes: false,
  244. _isHstoreAttribute: [Object],
  245. _hasRangeAttributes: false,
  246. _isRangeAttribute: [Object],
  247. _hasJsonAttributes: false,
  248. _isJsonAttribute: [Object],
  249. _hasVirtualAttributes: false,
  250. _isVirtualAttribute: [Object],
  251. _hasGeometryAttributes: false,
  252. _isGeometryAttribute: [Object],
  253. _hasDefaultValues: true,
  254. tableAttributes: [Object],
  255. primaryKeyAttributes: [Object],
  256. primaryKeyAttribute: 'id',
  257. primaryKeyField: 'id',
  258. primaryKeyCount: 1,
  259. hasPrimaryKeys: true,
  260. _hasPrimaryKeys: true,
  261. _isPrimaryKey: [Object],
  262. autoIncrementField: 'id',
  263. _scope: {},
  264. associate: [Function],
  265. createUser: [Function],
  266. getUser: [Function],
  267. getUserById: [Function],
  268. getUsersById: [Function],
  269. updateData: [Function],
  270. deleteUser: [Function],
  271. createAdmin: [Function] },
  272. UserType:
  273. { [Function: UserType]
  274. sequelize: [Circular],
  275. options: [Object],
  276. associations: [Object],
  277. underscored: undefined,
  278. tableName: 'UserTypes',
  279. _schema: null,
  280. _schemaDelimiter: '',
  281. rawAttributes: [Object],
  282. attributes: [Object],
  283. primaryKeys: [Object],
  284. _timestampAttributes: [Object],
  285. _readOnlyAttributes: [Object],
  286. _hasReadOnlyAttributes: 3,
  287. _isReadOnlyAttribute: [Object],
  288. _booleanAttributes: [],
  289. _dateAttributes: [Object],
  290. _hstoreAttributes: [],
  291. _rangeAttributes: [],
  292. _jsonAttributes: [],
  293. _geometryAttributes: [],
  294. _virtualAttributes: [],
  295. _defaultValues: {},
  296. fieldRawAttributesMap: [Object],
  297. fieldAttributeMap: {},
  298. uniqueKeys: {},
  299. _hasBooleanAttributes: false,
  300. _isBooleanAttribute: [Object],
  301. _hasDateAttributes: true,
  302. _isDateAttribute: [Object],
  303. _hasHstoreAttributes: false,
  304. _isHstoreAttribute: [Object],
  305. _hasRangeAttributes: false,
  306. _isRangeAttribute: [Object],
  307. _hasJsonAttributes: false,
  308. _isJsonAttribute: [Object],
  309. _hasVirtualAttributes: false,
  310. _isVirtualAttribute: [Object],
  311. _hasGeometryAttributes: false,
  312. _isGeometryAttribute: [Object],
  313. _hasDefaultValues: false,
  314. tableAttributes: [Object],
  315. primaryKeyAttributes: [Object],
  316. primaryKeyAttribute: 'id',
  317. primaryKeyField: 'id',
  318. primaryKeyCount: 1,
  319. hasPrimaryKeys: true,
  320. _hasPrimaryKeys: true,
  321. _isPrimaryKey: [Object],
  322. autoIncrementField: 'id',
  323. _scope: {},
  324. associate: [Function],
  325. createAdmin: [Function],
  326. getById: [Function] },
  327. UserType_Action:
  328. { [Function: UserType_Action]
  329. sequelize: [Circular],
  330. options: [Object],
  331. associations: {},
  332. underscored: undefined,
  333. tableName: 'UserType_Action',
  334. _schema: null,
  335. _schemaDelimiter: '',
  336. rawAttributes: [Object],
  337. attributes: [Object],
  338. primaryKeys: [Object],
  339. _timestampAttributes: [Object],
  340. _readOnlyAttributes: [Object],
  341. _hasReadOnlyAttributes: 2,
  342. _isReadOnlyAttribute: [Object],
  343. _booleanAttributes: [],
  344. _dateAttributes: [Object],
  345. _hstoreAttributes: [],
  346. _rangeAttributes: [],
  347. _jsonAttributes: [],
  348. _geometryAttributes: [],
  349. _virtualAttributes: [],
  350. _defaultValues: {},
  351. fieldRawAttributesMap: [Object],
  352. fieldAttributeMap: {},
  353. uniqueKeys: {},
  354. _hasBooleanAttributes: false,
  355. _isBooleanAttribute: [Object],
  356. _hasDateAttributes: true,
  357. _isDateAttribute: [Object],
  358. _hasHstoreAttributes: false,
  359. _isHstoreAttribute: [Object],
  360. _hasRangeAttributes: false,
  361. _isRangeAttribute: [Object],
  362. _hasJsonAttributes: false,
  363. _isJsonAttribute: [Object],
  364. _hasVirtualAttributes: false,
  365. _isVirtualAttribute: [Object],
  366. _hasGeometryAttributes: false,
  367. _isGeometryAttribute: [Object],
  368. _hasDefaultValues: false,
  369. tableAttributes: [Object],
  370. primaryKeyAttributes: [Object],
  371. primaryKeyAttribute: 'ActionId',
  372. primaryKeyField: 'ActionId',
  373. primaryKeyCount: 2,
  374. hasPrimaryKeys: true,
  375. _hasPrimaryKeys: true,
  376. _isPrimaryKey: [Object],
  377. autoIncrementField: 'id',
  378. _scope: {} } },
  379. modelManager:
  380. ModelManager {
  381. models: [ [Object], [Object], [Object], [Object] ],
  382. sequelize: [Circular] },
  383. connectionManager:
  384. ConnectionManager {
  385. sequelize: [Circular],
  386. config:
  387. { database: 'lgt-dev',
  388. username: 'postgres',
  389. password: 'postgres',
  390. host: 'localhost',
  391. port: undefined,
  392. pool: [Object],
  393. protocol: 'tcp',
  394. native: false,
  395. ssl: undefined,
  396. replication: false,
  397. dialectModulePath: null,
  398. keepDefaultTimezone: undefined,
  399. dialectOptions: undefined,
  400. user: 'postgres' },
  401. dialect:
  402. PostgresDialect {
  403. sequelize: [Circular],
  404. connectionManager: [Circular],
  405. QueryGenerator: [Object] },
  406. versionPromise: null,
  407. poolError: null,
  408. dialectName: 'postgres',
  409. onProcessExit: [Function: bound onProcessExit],
  410. pool:
  411. Pool {
  412. domain: null,
  413. _events: [Object],
  414. _eventsCount: 1,
  415. _maxListeners: undefined,
  416. _config: [Object],
  417. _Promise: [Object],
  418. _factory: [Object],
  419. _draining: false,
  420. _started: false,
  421. _waitingClientsQueue: [Object],
  422. _factoryCreateOperations: Set {},
  423. _factoryDestroyOperations: Set {},
  424. _availableObjects: [Object],
  425. _testOnBorrowResources: Set {},
  426. _testOnReturnResources: Set {},
  427. _validationOperations: Set {},
  428. _allObjects: [Object],
  429. _resourceLoans: Map {},
  430. _evictionIterator: [Object],
  431. _evictor: DefaultEvictor {},
  432. _scheduledEviction: null },
  433. lib:
  434. PG {
  435. domain: null,
  436. _events: {},
  437. _eventsCount: 0,
  438. _maxListeners: undefined,
  439. defaults: [Object],
  440. Client: [Object],
  441. Query: [Object],
  442. Pool: [Object],
  443. _pools: [],
  444. Connection: [Object],
  445. types: [Object],
  446. native: [Getter] } },
  447. importCache:
  448. { 'C:\Users\JuanCamilo\GitHub\LGT\models\action.js':
  449. { [Function: Action]
  450. sequelize: [Circular],
  451. options: [Object],
  452. associations: [Object],
  453. underscored: undefined,
  454. tableName: 'Actions',
  455. _schema: null,
  456. _schemaDelimiter: '',
  457. rawAttributes: [Object],
  458. attributes: [Object],
  459. primaryKeys: [Object],
  460. _timestampAttributes: [Object],
  461. _readOnlyAttributes: [Object],
  462. _hasReadOnlyAttributes: 3,
  463. _isReadOnlyAttribute: [Object],
  464. _booleanAttributes: [],
  465. _dateAttributes: [Object],
  466. _hstoreAttributes: [],
  467. _rangeAttributes: [],
  468. _jsonAttributes: [],
  469. _geometryAttributes: [],
  470. _virtualAttributes: [],
  471. _defaultValues: [Object],
  472. fieldRawAttributesMap: [Object],
  473. fieldAttributeMap: {},
  474. uniqueKeys: {},
  475. _hasBooleanAttributes: false,
  476. _isBooleanAttribute: [Object],
  477. _hasDateAttributes: true,
  478. _isDateAttribute: [Object],
  479. _hasHstoreAttributes: false,
  480. _isHstoreAttribute: [Object],
  481. _hasRangeAttributes: false,
  482. _isRangeAttribute: [Object],
  483. _hasJsonAttributes: false,
  484. _isJsonAttribute: [Object],
  485. _hasVirtualAttributes: false,
  486. _isVirtualAttribute: [Object],
  487. _hasGeometryAttributes: false,
  488. _isGeometryAttribute: [Object],
  489. _hasDefaultValues: true,
  490. tableAttributes: [Object],
  491. primaryKeyAttributes: [Object],
  492. primaryKeyAttribute: 'id',
  493. primaryKeyField: 'id',
  494. primaryKeyCount: 1,
  495. hasPrimaryKeys: true,
  496. _hasPrimaryKeys: true,
  497. _isPrimaryKey: [Object],
  498. autoIncrementField: 'id',
  499. _scope: {},
  500. associate: [Function],
  501. assingAdminActions: [Function],
  502. initialization: [Function],
  503. deleteAction: [Function],
  504. createAction: [Function] },
  505. 'C:\Users\JuanCamilo\GitHub\LGT\models\user.js':
  506. { [Function: User]
  507. sequelize: [Circular],
  508. options: [Object],
  509. associations: [Object],
  510. underscored: undefined,
  511. tableName: 'Users',
  512. _schema: null,
  513. _schemaDelimiter: '',
  514. rawAttributes: [Object],
  515. attributes: [Object],
  516. primaryKeys: [Object],
  517. _timestampAttributes: [Object],
  518. _readOnlyAttributes: [Object],
  519. _hasReadOnlyAttributes: 3,
  520. _isReadOnlyAttribute: [Object],
  521. _booleanAttributes: [Object],
  522. _dateAttributes: [Object],
  523. _hstoreAttributes: [],
  524. _rangeAttributes: [],
  525. _jsonAttributes: [],
  526. _geometryAttributes: [],
  527. _virtualAttributes: [],
  528. _defaultValues: [Object],
  529. fieldRawAttributesMap: [Object],
  530. fieldAttributeMap: {},
  531. uniqueKeys: {},
  532. _hasBooleanAttributes: true,
  533. _isBooleanAttribute: [Object],
  534. _hasDateAttributes: true,
  535. _isDateAttribute: [Object],
  536. _hasHstoreAttributes: false,
  537. _isHstoreAttribute: [Object],
  538. _hasRangeAttributes: false,
  539. _isRangeAttribute: [Object],
  540. _hasJsonAttributes: false,
  541. _isJsonAttribute: [Object],
  542. _hasVirtualAttributes: false,
  543. _isVirtualAttribute: [Object],
  544. _hasGeometryAttributes: false,
  545. _isGeometryAttribute: [Object],
  546. _hasDefaultValues: true,
  547. tableAttributes: [Object],
  548. primaryKeyAttributes: [Object],
  549. primaryKeyAttribute: 'id',
  550. primaryKeyField: 'id',
  551. primaryKeyCount: 1,
  552. hasPrimaryKeys: true,
  553. _hasPrimaryKeys: true,
  554. _isPrimaryKey: [Object],
  555. autoIncrementField: 'id',
  556. _scope: {},
  557. associate: [Function],
  558. createUser: [Function],
  559. getUser: [Function],
  560. getUserById: [Function],
  561. getUsersById: [Function],
  562. updateData: [Function],
  563. deleteUser: [Function],
  564. createAdmin: [Function] },
  565. 'C:\Users\JuanCamilo\GitHub\LGT\models\userType.js':
  566. { [Function: UserType]
  567. sequelize: [Circular],
  568. options: [Object],
  569. associations: [Object],
  570. underscored: undefined,
  571. tableName: 'UserTypes',
  572. _schema: null,
  573. _schemaDelimiter: '',
  574. rawAttributes: [Object],
  575. attributes: [Object],
  576. primaryKeys: [Object],
  577. _timestampAttributes: [Object],
  578. _readOnlyAttributes: [Object],
  579. _hasReadOnlyAttributes: 3,
  580. _isReadOnlyAttribute: [Object],
  581. _booleanAttributes: [],
  582. _dateAttributes: [Object],
  583. _hstoreAttributes: [],
  584. _rangeAttributes: [],
  585. _jsonAttributes: [],
  586. _geometryAttributes: [],
  587. _virtualAttributes: [],
  588. _defaultValues: {},
  589. fieldRawAttributesMap: [Object],
  590. fieldAttributeMap: {},
  591. uniqueKeys: {},
  592. _hasBooleanAttributes: false,
  593. _isBooleanAttribute: [Object],
  594. _hasDateAttributes: true,
  595. _isDateAttribute: [Object],
  596. _hasHstoreAttributes: false,
  597. _isHstoreAttribute: [Object],
  598. _hasRangeAttributes: false,
  599. _isRangeAttribute: [Object],
  600. _hasJsonAttributes: false,
  601. _isJsonAttribute: [Object],
  602. _hasVirtualAttributes: false,
  603. _isVirtualAttribute: [Object],
  604. _hasGeometryAttributes: false,
  605. _isGeometryAttribute: [Object],
  606. _hasDefaultValues: false,
  607. tableAttributes: [Object],
  608. primaryKeyAttributes: [Object],
  609. primaryKeyAttribute: 'id',
  610. primaryKeyField: 'id',
  611. primaryKeyCount: 1,
  612. hasPrimaryKeys: true,
  613. _hasPrimaryKeys: true,
  614. _isPrimaryKey: [Object],
  615. autoIncrementField: 'id',
  616. _scope: {},
  617. associate: [Function],
  618. createAdmin: [Function],
  619. getById: [Function] } },
  620. test:
  621. { _trackRunningQueries: false,
  622. _runningQueries: 0,
  623. trackRunningQueries: [Function: trackRunningQueries],
  624. verifyNoRunningQueries: [Function: verifyNoRunningQueries] },
  625. queryInterface:
  626. QueryInterface {
  627. sequelize: [Circular],
  628. QueryGenerator:
  629. { options: [Object],
  630. dialect: 'postgres',
  631. setSearchPath: [Function: setSearchPath],
  632. createSchema: [Function: createSchema],
  633. dropSchema: [Function: dropSchema],
  634. showSchemasQuery: [Function: showSchemasQuery],
  635. versionQuery: [Function: versionQuery],
  636. createTableQuery: [Function: createTableQuery],
  637. dropTableQuery: [Function: dropTableQuery],
  638. showTablesQuery: [Function: showTablesQuery],
  639. describeTableQuery: [Function: describeTableQuery],
  640. checkValidJsonStatement: [Function: checkValidJsonStatement],
  641. jsonPathExtractionQuery: [Function: jsonPathExtractionQuery],
  642. handleSequelizeMethod: [Function: handleSequelizeMethod],
  643. addColumnQuery: [Function: addColumnQuery],
  644. removeColumnQuery: [Function: removeColumnQuery],
  645. changeColumnQuery: [Function: changeColumnQuery],
  646. renameColumnQuery: [Function: renameColumnQuery],
  647. fn: [Function: fn],
  648. exceptionFn: [Function: exceptionFn],
  649. upsertQuery: [Function: upsertQuery],
  650. deleteQuery: [Function: deleteQuery],
  651. showIndexesQuery: [Function: showIndexesQuery],
  652. showConstraintsQuery: [Function: showConstraintsQuery],
  653. removeIndexQuery: [Function: removeIndexQuery],
  654. addLimitAndOffset: [Function: addLimitAndOffset],
  655. attributeToSQL: [Function: attributeToSQL],
  656. deferConstraintsQuery: [Function: deferConstraintsQuery],
  657. setConstraintQuery: [Function: setConstraintQuery],
  658. setDeferredQuery: [Function: setDeferredQuery],
  659. setImmediateQuery: [Function: setImmediateQuery],
  660. attributesToSQL: [Function: attributesToSQL],
  661. findAutoIncrementField: [Function: findAutoIncrementField],
  662. createTrigger: [Function: createTrigger],
  663. dropTrigger: [Function: dropTrigger],
  664. renameTrigger: [Function: renameTrigger],
  665. createFunction: [Function: createFunction],
  666. dropFunction: [Function: dropFunction],
  667. renameFunction: [Function: renameFunction],
  668. databaseConnectionUri: [Function: databaseConnectionUri],
  669. pgEscapeAndQuote: [Function: pgEscapeAndQuote],
  670. expandFunctionParamList: [Function: expandFunctionParamList],
  671. expandOptions: [Function: expandOptions],
  672. decodeTriggerEventType: [Function: decodeTriggerEventType],
  673. triggerEventTypeIsConstraint: [Function: triggerEventTypeIsConstraint],
  674. expandTriggerEventSpec: [Function: expandTriggerEventSpec],
  675. pgEnumName: [Function: pgEnumName],
  676. pgListEnums: [Function: pgListEnums],
  677. pgEnum: [Function: pgEnum],
  678. pgEnumAdd: [Function: pgEnumAdd],
  679. pgEnumDrop: [Function: pgEnumDrop],
  680. fromArray: [Function: fromArray],
  681. padInt: [Function: padInt],
  682. dataTypeMapping: [Function: dataTypeMapping],
  683. quoteIdentifier: [Function: quoteIdentifier],
  684. getForeignKeysQuery: [Function: getForeignKeysQuery],
  685. dropForeignKeyQuery: [Function: dropForeignKeyQuery],
  686. setAutocommitQuery: [Function: setAutocommitQuery],
  687. extractTableDetails: [Function: extractTableDetails],
  688. addSchema: [Function: addSchema],
  689. renameTableQuery: [Function: renameTableQuery],
  690. insertQuery: [Function: insertQuery],
  691. bulkInsertQuery: [Function: bulkInsertQuery],
  692. updateQuery: [Function: updateQuery],
  693. arithmeticQuery: [Function: arithmeticQuery],
  694. nameIndexes: [Function: nameIndexes],
  695. addIndexQuery: [Function: addIndexQuery],
  696. addConstraintQuery: [Function: addConstraintQuery],
  697. getConstraintSnippet: [Function: getConstraintSnippet],
  698. removeConstraintQuery: [Function: removeConstraintQuery],
  699. quoteTable: [Function: quoteTable],
  700. quote: [Function: quote],
  701. quoteIdentifiers: [Function: quoteIdentifiers],
  702. escape: [Function: escape],
  703. selectQuery: [Function: selectQuery],
  704. escapeAttributes: [Function: escapeAttributes],
  705. generateInclude: [Function: generateInclude],
  706. generateJoin: [Function: generateJoin],
  707. generateThroughJoin: [Function: generateThroughJoin],
  708. getQueryOrders: [Function: getQueryOrders],
  709. selectFromTableFragment: [Function: selectFromTableFragment],
  710. setIsolationLevelQuery: [Function: setIsolationLevelQuery],
  711. generateTransactionId: [Function: generateTransactionId],
  712. startTransactionQuery: [Function: startTransactionQuery],
  713. commitTransactionQuery: [Function: commitTransactionQuery],
  714. rollbackTransactionQuery: [Function: rollbackTransactionQuery],
  715. whereQuery: [Function: whereQuery],
  716. whereItemsQuery: [Function: whereItemsQuery],
  717. whereItemQuery: [Function: whereItemQuery],
  718. getWhereConditions: [Function: getWhereConditions],
  719. parseConditionObject: [Function: parseConditionObject],
  720. isIdentifierQuoted: [Function: isIdentifierQuoted],
  721. booleanValue: [Function: booleanValue],
  722. _dialect: [Object],
  723. sequelize: [Circular],
  724. typeValidation: undefined } } }
  725. ////////
  726. Executing (default): SELECT "id" FROM "Actions" AS "Action" WHERE ("Action"."deletedAt" > CURRENT_TIMESTAMP OR "Action"."deletedAt" IS NULL);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement