This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
psql -h <dbhost> -U <user> -d <dbName> | |
CREATE TEMP TABLE tmp_x (venue_id int, address1 text); | |
CREATE TEMP TABLE tmp_x (id int, columnToUpdate text); | |
\copy tmp_x FROM '/absolute/path/to.csv' with (format csv,header true, delimiter ','); | |
UPDATE original_table | |
SET columnToUpdate = tmp_x.columnToUpdate | |
FROM tmp_x | |
WHERE original_table.id = tmp_x.id; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const emailTextFieldProps = { | |
keyboardType={"email-address"} | |
autoCapitalize={"none"} | |
value={this.state.email}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil]; | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
#ifdef DEBUG | |
jsCodeLocation = [NSURL URLWithString:@"http://localhost:9988/index.ios.bundle?platform=ios&dev=true"]; | |
#else | |
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil]; | |
#endif | |
... |