Palit GeForce RTX 2080
CPU Intel Core i7-8700 (4.6Ghz, Socket 1151v2)
MSI MAG Z390 TOMAHAWK
PCI-E Creative SB Z (SB1500)
Corsair CMK16GX4M2B3000C15
Thermalright Macho 120 SBM
M.2 Samsung 970 evo 500Gb
Seagate ST2000DM006
AeroCool Aero-500
AOC G2460PF
Deepcool DA700 700W
export default {
data(){
return {
blockBtn: false
}
},
methods: {
async isWait(url) {
this.blockBtn = true;
let dosomething = await fetch(url)
this.blockBtn = false;
}
}
}
export default {
data(){
return {
blockBtn: false
}
},
methods: {
isWait(url) {
this.blockBtn = true;
let dosomething = fetch(url).then(() => {
this.blockBtn = false;
});
}
}
}
data.goals[0].gs_id
export default class Forma extends React.Component {
constructor(props) {
super(props);
this.state ={ data: {}, isFetching: true, error: null };
}
componentDidMount() {
fetch('http://localhost:3001')
.then(response => response.json())
.then(result => this.setState({data: result, isFetching: false }));
.catch(e => {
console.log(e);
this.setState({data: result, isFetching: false, error: e }));
});
}
render() {
const { data, isFetching, error } = this.state;
if (isFetching) return <div>...Loading</div>;
if (error) return <div>{`Error: ${e.message}`}</div>;
return <h1>{data.goals[0].gs_id}</h1>;
}
}
Суть такова, что есть прайс(ы) ~5млн и его нужно быстро обновлять (раз в 2 часа).
обновлять или удалять и заново записывать
echo array_flip(get_defined_constants(true)['pcre'])[preg_last_error()];
MySQL supports an extension for optionally specifying the display width of integer data types in parentheses following the base keyword for the type. For example, INT(4) specifies an INT with a display width of four digits. This optional display width may be used by applications to display integer values having a width less than the width specified for the column by left-padding them with spaces. (That is, this width is present in the metadata returned with result sets. Whether it is used or not is up to the application.)