What do you want to save?
Add Code snippet
New code examples
-
-
SQL 2021-09-10 10:44:02
neptune drop graph sparql
I learned this when trying to clear our records in AWS Neptune. I was hitting the query timeout when trying to drop an entire graph. If you don't want to/can't raise the timeout, you can drop smaller parts of the graph in each transaction. curl -sX POST ... Add solution -
-
PHP 2021-09-07 03:12:03
login page php mysql check if user is verified in the database before user can be logged in
// call the login() function if register_btn is clicked if (isset($_POST['login_btn'])) { login(); } // LOGIN USER function login(){ global $db, $username, $errors; // grap form values $username = e($_POST['username']); $password = e($_POST['passwo... Add solution -
SQL 2021-08-29 14:18:02
Google BigQuery how to create machine learning model using SQL
-- standardSQL to build the model CREATE OR REPLACE MODEL `bqml_lab.sample_model` OPTIONS(model_type='logistic_reg') AS SELECT IF(totals.transactions IS NULL, 0, 1) AS label, IFNULL(device.operatingSystem, "") AS os, device.isMobile AS is_... Add solution -
-
Other 2021-08-26 15:14:02
order
SELECT node.created AS node_created, node.nid AS nid FROM {node} node WHERE (( (node.status = '1') AND (node.type IN ('youtube', 'facebook', 'instagram', 'tweet')) AND (node.type IN ('youtube', 'facebook', 'instagram')) )) ORDER BY node_created DESC LI... Add solution
Best helpers
Ranking is empty