Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 757 for Vints (0.29 sec)

  1. tests/Database/DatabaseEloquentIntegrationTest.php

            $this->assertInstanceOf(CursorPaginator::class, $models);
        }
    
        public function testFirstOrNew()
        {
            $user1 = EloquentTestUser::firstOrNew(
                ['name' => 'Dries Vints'],
                ['name' => 'Nuno Maduro']
            );
    
            $this->assertSame('Nuno Maduro', $user1->name);
        }
    
        public function testFirstOrCreate()
        {
    PHP
    - Registered: 2022-11-20 10:06
    - Last Modified: 2022-06-01 14:08
    - 92K bytes
    - Viewed (0)
  2. src/table-hints.ts

    /**
     * An enum of table hints to be used in mssql for querying with table hints
     */
    enum TableHints {
      NOLOCK = 'NOLOCK',
      READUNCOMMITTED = 'READUNCOMMITTED',
      UPDLOCK = 'UPDLOCK',
      REPEATABLEREAD = 'REPEATABLEREAD',
      SERIALIZABLE = 'SERIALIZABLE',
      READCOMMITTED = 'READCOMMITTED',
      TABLOCK = 'TABLOCK',
      TABLOCKX = 'TABLOCKX',
      PAGLOCK = 'PAGLOCK',
      ROWLOCK = 'ROWLOCK',
      NOWAIT = 'NOWAIT',
      READPAST = 'READPAST',
    Plain Text
    - Registered: 2022-11-30 14:16
    - Last Modified: 2020-07-05 09:45
    - 530 bytes
    - Viewed (0)
  3. src/index-hints.ts

    /**
     * An enum of index hints to be used in mysql for querying with index hints
     */
    enum IndexHints {
      USE = 'USE',
      FORCE = 'FORCE',
      IGNORE = 'IGNORE'
    }
    
    Plain Text
    - Registered: 2022-11-30 14:16
    - Last Modified: 2020-07-05 09:45
    - 188 bytes
    - Viewed (0)
  4. core/src/test/java/com/alibaba/druid/bvt/sql/mysql/param/MySqlParameterizedOutputVisitorTest_47_hints.java

            statemen.accept(visitor);
    
            SqlNode sqlNode = visitor.getSqlNode();
    
            System.out.println(sqlNode);
    
            SqlNodeList hints = ((TDDLSqlSelect) sqlNode).getHints();
            Assert.assertEquals(hints.size(), 1);
            Assert.assertEquals(((SqlNodeList) hints.get(0)).size(), 4);
    
            SqlNodeList headHints = ((TDDLSqlSelect) sqlNode).getHeadHints();
            Assert.assertEquals(headHints.size(), 1);
    Java
    - Registered: 2022-11-21 07:39
    - Last Modified: 2022-09-12 01:19
    - 3.7K bytes
    - Viewed (0)
  5. core/src/test/java/com/alibaba/druid/bvt/sql/mysql/show/MySqlShowTest_38_hints.java

    import com.alibaba.druid.sql.parser.SQLParserFeature;
    
    import java.util.List;
    
    /**
     * @author chenmo.cm
     * @date 2018/8/24 上午10:53
     */
    public class MySqlShowTest_38_hints extends MysqlTest {
        private static final SQLParserFeature[] defaultFeatures = {SQLParserFeature.EnableSQLBinaryOpExprGroup,
                SQLParserFeature.UseInsertColumnsCache, SQLParserFeature.OptimizedForParameterized,
    Java
    - Registered: 2022-11-21 07:39
    - Last Modified: 2022-09-12 01:19
    - 1.8K bytes
    - Viewed (0)
  6. core/src/test/java/com/alibaba/druid/bvt/sql/mysql/select/MySqlSelectTest_81_hints.java

    import com.alibaba.druid.sql.parser.SQLStatementParser;
    import com.alibaba.druid.sql.visitor.SchemaStatVisitor;
    import com.alibaba.druid.util.JdbcConstants;
    
    import java.util.List;
    
    public class MySqlSelectTest_81_hints extends MysqlTest {
        public void test_0() throws Exception {
            String sql = "select * from t /*! where col = somefunc(col2) order by sortcol */;";
    
            System.out.println(sql);
    
    Java
    - Registered: 2022-11-21 07:39
    - Last Modified: 2022-09-12 01:19
    - 2.5K bytes
    - Viewed (0)
  7. core/src/test/java/com/alibaba/druid/bvt/sql/mysql/show/MySqlShowTest_31_hints.java

    import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlSchemaStatVisitor;
    import com.alibaba.druid.sql.parser.SQLParserFeature;
    
    import java.util.List;
    
    public class MySqlShowTest_31_hints extends MysqlTest {
        public void test_0() throws Exception {
            String sql = "/* +TDDL:scan()*/show create table t;";
    
            MySqlStatementParser parser = new MySqlStatementParser(sql, SQLParserFeature.TDDLHint);
    Java
    - Registered: 2022-11-21 07:39
    - Last Modified: 2022-09-12 01:19
    - 2K bytes
    - Viewed (0)
  8. core/src/test/java/com/alibaba/druid/bvt/sql/mysql/show/MySqlShowTest_30_hints.java

    import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlSchemaStatVisitor;
    import com.alibaba.druid.sql.parser.SQLParserFeature;
    
    import java.util.List;
    
    public class MySqlShowTest_30_hints extends MysqlTest {
        public void test_0() throws Exception {
            String sql = "/* +TDDL:scan()*/ show tables;";
    
            MySqlStatementParser parser = new MySqlStatementParser(sql, SQLParserFeature.TDDLHint);
    Java
    - Registered: 2022-11-21 07:39
    - Last Modified: 2022-09-12 01:19
    - 2K bytes
    - Viewed (0)
  9. core/src/test/java/com/alibaba/druid/bvt/sql/mysql/show/MySqlShowTest_37_hints.java

    import com.alibaba.druid.sql.parser.SQLParserFeature;
    
    import java.util.List;
    
    /**
     * @author chenmo.cm
     * @date 2018/8/24 上午10:37
     */
    public class MySqlShowTest_37_hints extends MysqlTest {
        private static final SQLParserFeature[] defaultFeatures = {SQLParserFeature.EnableSQLBinaryOpExprGroup,
                SQLParserFeature.UseInsertColumnsCache, SQLParserFeature.OptimizedForParameterized,
    Java
    - Registered: 2022-11-21 07:39
    - Last Modified: 2022-09-12 01:19
    - 1.8K bytes
    - Viewed (0)
  10. core/src/test/java/com/alibaba/druid/bvt/sql/mysql/select/MySqlSelectTest_175_hints.java

    import com.alibaba.druid.sql.ast.statement.SQLUnionQuery;
    import com.alibaba.druid.sql.parser.SQLParserFeature;
    import com.alibaba.druid.util.JdbcConstants;
    
    import java.util.List;
    
    public class MySqlSelectTest_175_hints extends MysqlTest {
        public void test_0() throws Exception {
            String sql = "SELECT/!TDDL:t1.id=1 and t2.id=1*/ * FROM t1 INNER JOIN SELECT val FROM t2 WHERE id=1";
    //
    Java
    - Registered: 2022-11-21 07:39
    - Last Modified: 2022-09-12 01:19
    - 1.8K bytes
    - Viewed (0)
Back to top