Newest 'store' Questions - Stack Overflow

Questions tagged [store]

A store is a data repository of a set of integrated objects. These objects are modeled using classes defined in database schemas. Data store includes not only data repositories like databases, it is a more general concept that includes also flat files that can store data.

1
vote
1answer
14 views

Vuex getter destruct

I'm using Vue.js with Vuex and wondering is there a way to destruct getters, just like actions do? This getter: doneTodosCount: (state, getters, rootState, rootGetters) => { ..... } ...
-5
votes
0answers
32 views

Store a string to variable to use it later? [on hold]

I have a string called EET2 like this: EET2=",EET/"+''.join(EET) print(EET2) and it prints this line: EET/OEJD0008 OKAC0131 My goal is to store this string to use it later, but before I use it ...
0
votes
0answers
12 views

Vuex store action from Promise to async/await

Currently I use promises in the store actions but want to convert it into async/await. This is an example of the store action with promises: fetchActiveWorkspace (context, workspaceID) { if (...
0
votes
1answer
34 views

Why is my SQL code not executing the stored procedure

So the objective of this is to show security so this is being done under a guest user account. I gave access to the guest user to execute this code. However I keep getting a NUll error Cannot ...
-1
votes
2answers
29 views

Run action from library

I have an npm library, which contains an NGRX Action with an effect. How do I call it in my own application? Currently nothing happens, once I use store.dispatch(). Or maybe how should the action be ...
-2
votes
0answers
31 views

Hide / Store AES Key into c# application

I need AES Calculation in my c# app, my main problem is to store the AES Key into the c# app, because .NET stuff is so easy to decompile. Tried different Obfucators but the key is still readable. ...
0
votes
0answers
24 views

How to insert a salary value in mysql [duplicate]

How to store a salary value without losing the comma that might be there for the thousands. For example if I try to insert 17,500 or 17,500.00 the result is just 17.00 My data type is decimal(10,2) ...
0
votes
0answers
40 views

how to store incoming real time data in a table

I'm trying to store incoming real times (prices) in a table and then export it for further analysis but i failed. If someone could help me that would be great. By now i've manage to write a code that ...
0
votes
0answers
21 views

Redux-form Liform Could not find “store” in either the context or props of “Connect(Form(BaseForm))”

I 'm struggling with this problem for a while now, and I didn't find or understrand the solution on internet cause i'm a beginner at ReactJS. So here I am. Context I try to develop a socle for a ...
0
votes
0answers
36 views

C# struct using “new” still on stack or heap? [duplicate]

It's said that class objects are allocated on heap using new, and struct object can declare directly on stack. But if I use "new" to allocate a struct, where is it stored? Like this: struct MyStruct {...
0
votes
1answer
21 views

Why do I get an error for mutating “Vuex store state outside of mutation handlers” while inside a mutation handler?

I am getting this error when I edit one of the text fields (which updates the store): I've already tried putting @change and v-model on the text fields and that is not proper. Need to find a proper ...
0
votes
1answer
17 views

Laravel: Saving data from multiple groups of radio buttons with diffrent names

I'm absolutely new to laravel and my question is if it's possible to save data into database from multiple group of radio buttons with different names. My Blade (part of if): @foreach($pol1 as $...
0
votes
0answers
3 views

How can we delete particular data object from local store after mutation using apollo angular

I just want to remove particular data object from the store after mutation using apollo angular, any Idea how can I achieve that?
0
votes
2answers
31 views

Why is my store not updating when I use a deep watch?

The deep watcher I set for this component does not update the store when I change the value of the text field. I cannot find a way to properly change the store object's (profile) key/value pair (...
0
votes
2answers
41 views

Store dispatch recalls the http get of the effect several times

During dispatch, my effect is called repeatedly until my backend responds and the data is loaded. I need help in understanding how to load the data with just one GET REQUEST and then load from the ...
1
vote
0answers
19 views

Not able to fetch store values when a link is hit directly

Hitting a link from a website without visiting the Homepage is not setting the values in the store. I have made axios calls in nuxtServerInit action and have set the data in mutations. I am able to ...
0
votes
1answer
60 views

add a parameter to a selector in effect

I have the following createMission$ = this.actions$.pipe( ofType<featureActions.CreateMissionRequest>(featureActions.ActionTypes.CreateMissionRequest), withLatestFrom(this.store$....
0
votes
0answers
47 views

Rerender component when observable value is changed in MobX

I'm working on simple app using React, Typescript and MobX. User can search github repositories using API and display the results in form of cards. Each card can be saved to localStorage. The problem ...
-1
votes
0answers
23 views

type missmatch on ngrx selector

I have the following function selectDrone(droneId: string) { this.store$.select(UsedDronesStoreSelectors.getUsedDroneEntityById(), { id: droneId }) .pipe(take(1)) .subscribe((drone) =&...
1
vote
1answer
29 views

How to fix state change in VUEX?

I have a problem with changing state while splicing element from another array then changes in state. TO be clear, i don't want state to change, just want to splice one element from array ...
-1
votes
0answers
13 views

Can json store benefit from same structure/schema of stored json files?

Does any from json storage (mongodb/postgresql/mysql/…) store json fies more effectively if they are of the same schema/structure? Or is it more effective to store them in relational model and create ...
0
votes
1answer
23 views

Why my app cant be published using paypal integration

i develop an app with ionic library. i use paypal integration from ionic framework, i upload my app at google play and everything went fine. When i publish my app in app store my app was rejected with ...
1
vote
3answers
54 views

Resetting redux state without breaking react components

Been working with redux in a complex react application. I put some data in redux state and use this data to render a component. Then, you want to change the page and I do need to reset some fields in ...
0
votes
2answers
53 views

vuex unknown action (or mutation) type

I'm writing a simple code to set token in store in an Nuxt application. when I tried to call a mutation or action from my store, this error is logged in console: [vuex] unknown action type: setToken ...
0
votes
1answer
32 views

Using a Provider but still seeing error Invariant Violation: Could not find “store” in the context of "Connect

I have looked at several answers but all recommend to wrap the main component in a Provider. I have already done that but the error remains. This is my App.js component const App = ({ store }) =>...
-1
votes
1answer
37 views

How to complete “letters” function? (linked list)

I'm beginner at linked list and I hope someone help me. The homework wants: input string (from user), store it in linked list and count the letters that appeared. For example: input:hello output:...
1
vote
1answer
50 views

How can I find a record based on another record?

I am retrieving some values from database like this: var data = new Ext.create('Ext.data.Store',{ fields: [ {name:'code',...
0
votes
0answers
32 views

whmcs api data duplicated when save into database

I am figuring why is there duplicated data in every data. Is there any fault in my code. // Decode response $jsonData = json_decode($response,true); //store client data in db $clients ...
1
vote
1answer
30 views

Publish-subscribe pattern vs. visibility of UI

In my current SPA I'm keeping all data in a centralized store (state) whose actions trigger state mutations and publish certain pubSub events. My UI logic is organized in different views (functions) ...
0
votes
1answer
31 views

Vue vuex shorten mapState

Thats how my code looksin my vue component and as you can see there is a module inputValues, and the last three path to state are almost the same. Is there possiility to make it shorter? becouse it ...
1
vote
5answers
47 views

how to iterate over a dictionary from value in an array and store in a new dictionary

I have an array(Arr[]), for each item in the array i would like for it to go through a dictionary(specs{}) and calculate the corresponding values and store them in a new dictionary but on sure how to ...
0
votes
0answers
36 views

Displaying selected elements in a nested structure

I have been struggling on this problem since many hours now, you guys are my last hope ! I want to make a webpage, where it's possible to select an item in a list, and display it, something like this ...
0
votes
0answers
23 views

After Purging wso2 table recommended, I lost my analytics and statistics in publisher->analytic menu

my memory of database server is increasing so fast, specially databases: analytics_event_store and analytics_processed_data_store. So I decided to purge data that it's not important. after purging I ...
0
votes
0answers
6 views

Store status of iframe for the next call

Is it possible to "store" the status of the content of an iframe? In my webapp there is a top navigation where one link opens a page with an iframe. In this iframe there is another web app running. ...
0
votes
1answer
25 views

what is `modified_timestamp` used for in plotly store component

I am reading about the first example on https://dash.plot.ly/dash-core-components/store why @app.callback(Output('{}-clicks'.format(store), 'children'), [Input(store, '...
-1
votes
1answer
41 views

Storing a table of Data in VB.Net

I am new to VB.net and i am creating an application which uses a table as source for some Combo boxes. Now i have this table as data table but after i complete the application i want this table to be ...
0
votes
0answers
30 views

Where can I find others callback of infinite grid store?

I use an Infinite Grid, actually all work fine but in the PHP that the store uses I do a request to an external webservice. This is my Store Load: myInfGrid.getStore().load({ scope : this, ...
2
votes
2answers
39 views

React-redux state array management

So I basically started learning Redux and wanted to create a simple store app where you can add the phones to the cart. I have created a state object and within it, I have created an array with ...
0
votes
0answers
25 views

How to use the same store with different params in Vuex / NuxtJS?

Is there a way to use the same store but under a different variable name. Suppose I have this data store with a getData getter, like: computed: { ...mapGetters({ data: 'data/getData', ...
0
votes
1answer
44 views

How can i store objects in local file?

I'm creating an quiz. In the page, user can add a question to the quiz. How can i simple save these new questions in local file? I would like to have it the next time I launch the page... I've tried ...
0
votes
1answer
106 views

How to update object in vuex store array?

I'm pretty new to vue/vuex/vuetify but starting to get the hang of it. I have a problem though I haven't been able to solve properly. I have an array of "projects" in my store. When deleting and ...
0
votes
1answer
54 views

Different ways of initializing a react redux store's initial global state?

What are the different ways of initializing a react redux store's initial global state? I see two ways this redux could set an initial global state Let's say we have a single reducer and all the ...
0
votes
1answer
19 views

Laravel 5.7 CRUD explanation

Hello I'm absolutely new to Laravel, and I'm hoping someone could help me enlighten with its flow. although I do understand some of it, but I want to be educated and to be assured that what I have ...
1
vote
0answers
138 views

Mock ngrx store selectors with parameters in unit tests (Angular)

I am trying to write unit tests for a service in Angular. I want to mock the store.select function of ngrx, so I can test how let's say, a service, reacts to different values returned by the store ...
4
votes
1answer
75 views

Where is vuex physically stored?

How can i access vuex data using the console or any other method when my vue app is on production? Can't use Vue Devtools because i am on production
1
vote
3answers
21 views

How to import only ONE user out of many based on the route params?

my store: store={ users: [ {id:1}, {id:2}, {id:3} ] } Now, I want to import only one of the users based on the route params eg. id = this.props.match.params.user_id; The question ...
0
votes
0answers
11 views

Computed property gives me wrong data which is belongs to another module of store in Vuex

i am beginner to vuex. i am trying to retrieve an array named expenceHeadData[] from one of my store module named expenceHeadDetail.js by computed method property but it shows me an array named ...
0
votes
1answer
17 views

Store does not have reducer initialState

I cannot get the store reducer initialState, so I cannot map to props in the component as well. Here is my reducer: const initialState = { currentUser: null } export default function UserReducer(...
-1
votes
1answer
56 views

How to save YouTube video link in SQL Server database using C#

I am developing a website project using C#, a. How can I save YouTube video link in MSSQL database ? Thank you
0
votes
0answers
33 views

Store that integrates with api by link (API Xtream Codes)

I have tested the most popular software stores but I do not find any that make the integration that I want easily! What I need is the following, a store that can sell both physical and virtual ...