sdk/src/sync/pull.js
function initialize () {
        return pullTaskRunner.run(function() {
            return store.defineTable({
                name: pulltimeTableName,
                columnDefinitions: {
                    id: 'string', // column for storing queryId
                    tableName: 'string', // column for storing table name 
                    value: 'date' // column for storing lastKnownUpdatedAt
                }
            });
        });
    }
function initialize () {
        return pullTaskRunner.run(function() {
            return store.defineTable({
                name: pulltimeTableName,
                columnDefinitions: {
                    id: 'string', // column for storing queryId
                    tableName: 'string', // column for storing table name 
                    value: 'date' // column for storing lastKnownUpdatedAt
                }
            });
        });
    }
function initialize ( ) { return pullTaskRunner . run ( function ( ) { return store . defineTable ( { name : pulltimeTableName , columnDefinitions : { id : 'string' , // column for storing queryId tableName : 'string' , // column for storing table name  value : 'date' // column for storing lastKnownUpdatedAt } } ) ; } ) ; }
Creates and initializes the table used to store the state for performing incremental pull
Creates and initializes the table used to store the state for performing incremental pull